/*
* Global styles and CSS reset for the next step: block styles
*/

:root {
  --content-width: clamp(1080px, 90vw, 1330px);

  /*
  --fonts-3xs: clamp(0.7rem, 0.5rem + 0.25vw, 0.75rem);
	--fonts-2xs: clamp(0.9rem, 0.5rem + 0.25vw, 1rem);
	--fonts-xs: clamp(1rem, 0.5rem + 1vw, 1.125);
	--fonts-s: clamp(1.3rem, 1rem + 0.45vw, 1.5rem);
  --fonts-m: clamp(1.8rem, 1rem + 0.45vw, 2rem);
	--fonts-l: clamp(2.2rem, 1rem + 1vw, 2.6rem);
	--fonts-xl: clamp(2.6rem, 2.17rem + 1vw, 3rem);
	--fonts-2xl: clamp(3rem, 2rem + 1vw, 3.5rem);
	--fonts-3xl: clamp(3.6rem, 3.9rem + 1vw, 4.5rem);
  */

  --fonts-3xs: 12px;
	--fonts-2xs: 16px;
	--fonts-xs: 16px;
	--fonts-s: 24px;
  --fonts-m: 32px;
	--fonts-l: 42px;
	--fonts-xl: 48px;
	--fonts-2xl: 56px;
	--fonts-3xl: 72px; /* h1 */

  --color-primary: #c8457d;
  --color-bg-light: #fbf3fb;
  --color-deep-purple: #52063e;  
  --color-white: #ffffff;
  --color-black: #000000;
  --new-berry-200: #A0127B;
  --gray-dark-2: ##1A1622;
  
  
  --color-gray-600: #525f7f;

  	/* Spacing */
	--space-xs: 0.5rem;    /* 8px */
	--space-s:  1rem;      /* 16px */
	--space-m:  1.5rem;    /* 24px */
	--space-l:  2rem;      /* 32px */
	--space-xl: 3rem;      /* 48px */
	--space-2xl: 4rem;     /* 64px */
	--space-3xl: 6rem;     /* 96px */
}


/*
* FONT FACES 
*/
/* Modern font-face definitions with proper font-weight */
@font-face {
    font-family: 'StudioFeixenSans';
    src: url('../fonts/studiofeixensans-light.woff2') format('woff2'), url('../fonts/studiofeixensans-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'StudioFeixenSans';
    src: url('../fonts/studiofeixensans-book.woff2') format('woff2'), url('../fonts/studiofeixensans.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'StudioFeixenSans';
    src: url('../fonts/studiofeixensans-medium.woff2') format('woff2'), url('../fonts/studiofeixensans-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'StudioFeixenSans';
    src: url('../fonts/studiofeixensans-semibold.woff2') format('woff2'), url('../fonts/studiofeixensans-semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'StudioFeixenSans';
    src: url('../fonts/studiofeixensans-bold.woff2') format('woff2'), url('../fonts/studiofeixensans-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_24pt-Light.woff2') format('woff2'), url('../fonts/Inter_24pt-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_24pt-Bold.woff2') format('woff2'), url('../fonts/Inter_24pt-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Fixes blocks */
.wp-block-group {
  display: flex;
}
.wp-block-group.is-layout-grid {
  display: grid;
}

.wp-block-heading.has-text-align-left {
  text-align: left;
}

.fix-container .wp-block-group-is-layout-flex {
  width: 100%;
}

/* General */
.page-title {
}

#main-content h2 {
  color: var(--zinc-950, #161632);
  font-size: 42px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -2px;
}

#main-content h3 {
  line-height: 1.15;
}

/* Buttons */
.wp-block-button__link {
  font-family: 'StudioFeixenSans';
  font-weight: 600;
  text-wrap: nowrap;
  transition: 0.3s;
  font-size: var(--fonts-xs);
  line-height: 1.5;
  text-align: center;
  padding: .5rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  background: linear-gradient(130deg, rgb(226, 101, 126) 0%, rgb(160, 18, 123) 100%);
  z-index: 1;
  transition: all .5s ease;
  padding-top: 12px !important;
  padding-right: var(--space-xl) !important;
  padding-bottom: 12px !important;
  padding-left: var(--space-xl) !important;
}

.wp-block-button__link:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity .5s ease;
  border-radius: 8px;
  opacity: 0;
  z-index: -1;
  background: linear-gradient(30deg, rgb(160, 18, 123) 0%, rgb(226, 101, 126) 100%);
}

.wp-block-button:not(.button--learn-more):hover .wp-block-button__link::before {
  opacity: 1;
}

/* Default button style (filled) */
.wp-block-button:not(.is-style-outline):not(.button--learn-more) .wp-block-button__link,
.industry-use-cases-carrousel .wp-block-button__link { 
  color: #fff;
  background: linear-gradient(107deg, #E2657E 0%, #A0127B 100%);
}

/* Outlined button style */
.wp-block-button.is-style-outline .wp-block-button__link {   
  background-color: transparent !important;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: var(--New-G0, linear-gradient(107deg, #E2657E 0%, #E2BED8 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.wp-block-button.is-style-outline .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  padding: 1px;
  border-radius: 8px;
  background: linear-gradient(-65deg, rgba(241,199,207,1) 0%, rgba(226,101,126,1) 100%);
  -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    mask-composite: add, add;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Learn more */
.button--learn-more a {
  background: transparent !important;
  padding: 0 !important;
  color: var(--color-primary) !important;
  background-image: url(/wp-content/uploads/2024/10/icon-learn-more.svg) !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 12px 12px !important;
  padding-left: 24px !important;
  text-align: center;
font-family: "StudioFeixenSans";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

/* BLOCKS */
.hero {
  background-color: var(--color-bg-light);
  text-align: center;
  margin-top: -80px;
  padding-top: 300px !important;  
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero .is-layout-grid {
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero__content {
  margin: 0 auto;
  max-width: min(100% - 3rem, var(--content-width));
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
.hero__top--tag {
  background: linear-gradient(
    to right, /* Dirección del degradado, puedes cambiarla a 'to bottom', '45deg', etc. */
    #C068CE 0%,
    #6892CE 86%,
    #C068CE 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-size: 14px;
}
.hero h1 {
  font-family: 'StudioFeixenSans' !important;
  font-weight: bold;
  line-height: 100%;
  color: #0F0F2C;
font-feature-settings: 'dlig' on;
font-family: "Studio Feixen Sans";
font-size: 56px;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: -3px;
}

.hero-with-video h1 b,
.hero-with-video h1 strong,
.hero-with-video h1 strong mark {
  background: var(--Studio-Gradients-Primary, linear-gradient(262deg, #E2657E -18.5%, #A0127B 93.76%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 600 !important;
}

.hero p {
  color: var(--gray-600, #525F7F);
font-family: Inter;
font-size: 16px !important;
font-style: normal;
font-weight: 300 !important;
line-height: 150% !important; /* 24px */
letter-spacing: -0.16px !important;
}
.hero .hero__image {
    display: none;
  }

.hero__description {
  font-family: 'StudioFeixenSans' !important;
  font-weight: 300;
}

.hero-video {
  margin: 0 auto !important;
}
.hero-video video,
.hero-video iframe {
  box-shadow: 0px 26.8px 40.21px 0px #32325D26;
  border-radius: 14px; 
  transform: translateY(20px); 
  z-index: 1;
  width: 100vw; height: 411px;
}

/* CARD */
.card {
  gap: 16px;
}
.card h3 {
  color: var(--gray-950, #161632);
font-family: "Studio Feixen Sans";
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: -0.6px;
}
.card p {
  color: var(--gray-700, #434771);
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 28px; /* 175% */
letter-spacing: -0.6px;
}
.list-with-icon .is-vertical{
  gap: 4px;
}
.list-with-icon h3 {
  color: var(--gray-700, #434771);
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 28px; /* 175% */
letter-spacing: -0.6px;
}
.list-with-icon p {
  color: var(--gray-400, #8898A9);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 28px; /* 200% */
letter-spacing: -0.6px;
}

/* Products */

.section-animation-right,
.section-animation-left {
  
}

/* USE CASES */
.use-case__featured--content {
  width: 70%;
}
.use-case__featured--kpi {
  width: 30%;
}
.featured--info h1 {
  font-family: 'StudioFeixenSans' !important;
  font-weight: 600;
  line-height: 100%;
}
.featured--info .wp-block-button .wp-block-button__link {
  font-size: var(--fonts-xs) !important;
}
.featured--info .wp-block-post-excerpt__excerpt {
  color: #e7eaf0;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  font-size: var(--fonts-2xs);
  line-height: 150%;
}
.featured--info .learn-more-button {
    font-size: var(--fonts-xs) !important;
}
.use-case__taxonomies {
  min-width: 300px;
  padding-right: var(--space-xl);
}
.use-cases-tax-title {
  color: var(--gray-600, #525F7F);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 19px; /* 158.333% */
  letter-spacing: -0.12px;
  text-transform: uppercase;
}
.use-cases-tax-terms {
  color: var(--gray-600, #525F7F);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: 19px;
letter-spacing: -0.14px;
}
.use-cases-tax-item {
  padding-bottom: var(--space-s);
}
.use-case__challenge {
  gap: 16px;
  display: flex;
  flex-direction: column;  
}
.use-case__challenge p,
.use-case__solution p {
color: var(--gray-950, #161632);
font-family: Inter;
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 30px; /* 166.667% */
letter-spacing: -0.18px;
}
.use-case__solution  h3 {
  color: var(--gray-950, #161632) !important;
font-family: Inter !important;
font-size: 18px !important;
font-style: normal;
font-weight: 700 !important;
line-height: 30px !important;
letter-spacing: -0.18px !important;
margin-bottom: -7px;
}
.use-case__solution {
  gap: var(--space-xs) !important;
}
.use-case__solution p {
  margin-bottom: var(--space-s) !important;
}

/* Download form */
body:not(.download-active) #download,
body:not(.download-active) .cta-download {
  display: none !important;
}
.download--form input {
  padding: .5rem;
  border-radius: 4px;
  border: 0;
  font-size: var(--fonts-xs);
}

.download--form p {
  display: flex;
  gap: 5px;
  align-items: center;
}
.download--form .wpcf7-submit {
  font-family: 'StudioFeixenSans';
  font-weight: 600;
  text-wrap: nowrap;
  transition: 0.3s;
  font-size: var(--fonts-3xs);
  line-height: 1.5;
  text-align: center;
  padding: var(--space-xs);
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  background-image: url(/wp-content/uploads/2024/10/file-down.svg), linear-gradient(-85deg, rgb(160, 18, 123) 0%, rgb(226, 101, 126) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: 8px center, center;
  background-size: 16px 16px, 100%;
  color: white;
  border: 0;
  padding-left: var(--space-l);
}
.download__image{
  min-width: 200px !important;
}

.download--form .screen-reader-response {
  display: none;
}
.download--form .wpcf7-response-output {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  border: 0 !important;
  padding-left: 0 !important;
}

.use-case__solution::before {
  background-color: #f5f9fc;
  position: absolute;
  left: -1.5rem;
  width: 100%;
  height: 100%;
  content: '';
  z-index: -1;
}

/* Lottie */
.kb-lottie-container {
  margin: 0 auto !important;
}

@media (max-width: 780px) {
  /* fixes */  

  .wp-block-group.is-layout-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  .featured--info {
    flex-direction: column !important;
  }

  .featured--info .use-case__featured--content {
    width: 100%;
  }

  .featured--info .use-case__featured--kpi {
    width: 100%;
  }

  .featured--info .kpi-container.vertical {
    margin: 0 !important;
  }

  .hero .is-layout-grid {
    margin: 0;
  }
  .hero-video {
    padding: 0 !important;
    width: calc(100vw - 2rem);
  }

  .use-case__container {
    flex-direction: column !important;
  }
  .use-case__content {
    padding: 0 !important;
  }
  .use-case__solution {
    position: relative;
    padding-bottom: var(--space-l);
  }  
  .use-case__solution::before {
    left: -1.5rem;
    width: 100vw;
    height: 100%;
  }
  .download-field {
    display: flex;
    flex-direction: column;
  }
  .download--form input {
    width: 100% !important;
    max-width: 100% !important;
  }
  .download-field .wpcf7-form-control {
    text-align: left;
  }

  .section-animation-left .is-layout-grid {
    flex-direction: column-reverse;
    display: flex;
  }
}

@media (max-width: 1080px) {
  :where(.wp-block-group.has-background) {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* download section */
  .download__container {
    flex-direction: column !important;
    padding-left: var(--space-s);
    padding-right: var(--space-s);
  }
  .download__content {
    width: 100%;
    padding-top: 0 !important;
    padding-right: 0 !important;
  }  
  .download__content .wpcf7-email {
    width: 100%;
  }
  .download__content .label {
    width: 70%;
  }
  .download--form input {
    max-width: 300px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 300px !important;
  }
  .hero .hero__content {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .hero .hero__image {
    display: block;
  }
}

@media (min-width: 1280px) {
  .hero {
    padding-top: 250px !important;
  }
  .hero .hero__content {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .hero .hero__image {
    display: block;
  }
  .download__image{
    min-width: 300px !important;
  }
}



/* Override font primary */
/* Reset para todos los bloques de WordPress */
.wp-block-group *,
.wp-block-columns *,
.wp-block-column * {
  font-family: 'StudioFeixenSans' !important;
}

/* Fuente específica para contenido de párrafos */
.wp-block-group p,
.wp-block-columns p,
.wp-block-column p {
  font-family: 'Inter' !important;
  font-weight: 300;
}

/* Asegurar que los headings usen StudioFeixenSans */
.wp-block-group h1,
.wp-block-group h2 {
  font-family: 'StudioFeixenSans' !important;
  font-weight: 600;
  line-height: normal;
  color: var(--gray-dark-2);
  letter-spacing: -3px;
}
.wp-block-group h3,
.wp-block-group h4,
.wp-block-group h5,
.wp-block-group h6 {
  font-weight: bold;
}

/* Blocks Template - Clean template for Gutenberg */
.blocks-template {
  background-color: #fff;
  min-height: 100vh;
}

.blocks-template .entry-content {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Reset any legacy theme styles for blocks template */
.blocks-template * {
  box-sizing: border-box;
}

.blocks-template .entry-content > * {
  margin-left: auto;
  margin-right: auto;
}

/* Ensure blocks use full width when needed */
.blocks-template .alignfull {
  max-width: 100%;
  width: 100%;
}

.blocks-template .alignwide {
  max-width: var(--content-width);
  width: 100%;
}