/**
 * Estilos del export Figma para la galería "¿Cómo funciona iBlod?".
 * Prefijar selectores con .iblod-gallery-figma-root--{N} para no afectar el resto de welcome.
 */

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  overflow-anchor: none;
  contain: layout paint;
}

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--1,
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--2,
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--3,
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--4,
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--5,
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--6,
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--7 {
  min-height: 0;
}

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--1 {
  width: 100%;
  height: 100%;
  padding: 0.2em;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
  container-type: size;
  container-name: iblodHowSlide1;
}

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--2 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0.18em;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  container-type: size;
  container-name: iblodHowSlide2;
}

/* --- Slide 2: denuncias (pantalla 1 responsive) --- */
.iblod-gallery-figma-root--2 .denuncias-figma {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.64em;
  padding: 0.76em;
  border-radius: 0.95em;
  border: 1px dotted #d7d7d7;
  background: #fff;
  box-shadow:
    0 20px 38px -20px rgba(68, 81, 158, 0.35),
    0 0 0 1px rgba(68, 81, 158, 0.05);
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  font-size: clamp(11px, 4.7cqmin, 16px);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports not (font-size: 1cqmin) {
  .iblod-gallery-figma-root--2 .denuncias-figma {
    font-size: clamp(11px, 2.45vmin, 16px);
  }
}

@container iblodHowSlide2 (min-width: 360px) {
  .iblod-gallery-figma-root--2 .denuncias-figma {
    font-size: clamp(13px, 3.75cqmin, 16px);
  }
}

.iblod-gallery-figma-root--2 .denuncias-figma__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
}

.iblod-gallery-figma-root--2 .denuncias-figma__title {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.2;
  color: #1f2937;
  font-weight: 700;
}

.iblod-gallery-figma-root--2 .denuncias-figma__add-btn {
  border: 1px solid #44519e;
  background: #fff;
  color: #44519e;
  border-radius: 0.52em;
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.44em 0.66em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.iblod-gallery-figma-root--2 .denuncias-figma__divider {
  height: 1px;
  background: #e5e7eb;
}

.iblod-gallery-figma-root--2 .denuncias-figma__search {
  background: #e8f1ff;
  border: 1px solid #cfe0ff;
  border-radius: 0.76em;
  padding: 0.6em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5em;
}

.iblod-gallery-figma-root--2 .denuncias-figma__label {
  margin: 0;
  color: #334155;
  font-size: 0.9em;
  font-weight: 700;
}

.iblod-gallery-figma-root--2 .denuncias-figma__input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5em;
  background: #fff;
  color: #475569;
  padding: 0.5em 0.66em;
  font-size: 0.84em;
  line-height: 1.25;
  box-sizing: border-box;
}

.iblod-gallery-figma-root--2 .denuncias-figma__search-btn {
  width: 100%;
  border: 0;
  border-radius: 0.5em;
  background: #44519e;
  color: #fff;
  padding: 0.55em 0.75em;
  font-size: 0.84em;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.iblod-gallery-figma-root--2 .denuncias-figma__search-btn.is-pressed {
  transform: scale(0.98);
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.12);
}

.iblod-gallery-figma-root--2 .denuncias-figma__results {
  flex: 1 1 auto;
  min-height: 0;
  border: 1px dashed #cbd5e1;
  border-radius: 0.76em;
  padding: 0.65em;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.48em;
  justify-content: center;
}

.iblod-gallery-figma-root--2 .denuncias-figma__results--hidden {
  display: none;
}

.iblod-gallery-figma-root--2 .denuncias-figma__hint {
  margin: 0;
  color: #334155;
  font-size: 0.78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.iblod-gallery-figma-root--2 .denuncias-figma__empty {
  margin: 0;
  color: #64748b;
  font-size: 0.82em;
  line-height: 1.35;
}

.iblod-gallery-figma-root--2 .denuncias-figma__deep-search {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
  border: 1px solid #dfe5ff;
  border-radius: 0.9em;
  padding: 0.5em;
  box-shadow: 0 4px 16px rgba(68, 81, 158, 0.08);
}

.iblod-gallery-figma-root--2 .denuncias-figma__deep-search--hidden {
  display: none !important;
}

.iblod-gallery-figma-root--2 .denuncias-figma__deep-search--visible {
  display: block !important;
  animation: denunciasDeepSearchZoomIn 0.32s ease-out;
  transform-origin: center top;
}

@keyframes denunciasDeepSearchZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.iblod-gallery-figma-root--2 .denuncias-figma__deep-title {
  margin: 0;
  color: #1e3a8a;
  font-size: 0.84em;
  font-weight: 700;
  line-height: 1.2;
}

.iblod-gallery-figma-root--2 .denuncias-figma__deep-copy {
  margin: 0;
  color: #334155;
  font-size: 0.75em;
  line-height: 1.3;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index.busqueda-profunda-output {
  margin-top: 0;
  display: block;
  color: #3f4660;
  font-size: 1em;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index > .bp-meta,
.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index > .bp-ia-card {
  margin-left: 0.38em;
  margin-right: 0.38em;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index .bp-meta {
  background: #eef1ff;
  border-radius: 0.72em;
  border: 1px solid #d8def8;
  padding: 0.56em 0.66em;
  margin-bottom: 0.5em;
  color: #3f4660;
  font-size: 0.84em;
  line-height: 1.42;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index .bp-ia-card {
  background: #fff;
  border: 1px solid #d5dcff;
  border-left: 4px solid #44519e;
  border-radius: 0.76em;
  padding: 0.62em 0.72em;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(68, 81, 158, 0.08);
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index .bp-ia-card.bp-ia-card-neutral {
  background: #ffffff;
  border-color: #d5dcff;
  border-left-color: #44519e;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index .bp-ia-title {
  color: #2f3a7a;
  font-weight: 700;
  margin-bottom: 0.36em;
  font-size: 0.9em;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index .bp-estado-resumen {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 0.5em 0.62em;
  border-radius: 0.62em;
  font-size: 0.84em;
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index .bp-estado-resumen-info {
  background: #eef1ff;
  color: #3f4660;
  border: 1px solid #d8def8;
}

.iblod-gallery-figma-root--2 #busqueda-profunda-resultado-index .bp-estado-resumen-info.bp-estado-resumen-info--verde {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #6ee7b7;
}

@container iblodHowSlide2 (min-width: 380px) {
  .iblod-gallery-figma-root--2 .denuncias-figma__search {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .iblod-gallery-figma-root--2 .denuncias-figma__label {
    margin-right: 0.1em;
    white-space: nowrap;
  }

  .iblod-gallery-figma-root--2 .denuncias-figma__search-btn {
    width: auto;
    min-width: 5.9em;
    padding-inline: 0.9em;
  }
}

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--4 {
  width: 100%;
  height: 100%;
  padding: 0.2em;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
  container-type: size;
  container-name: iblodHowSlide4;
}

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--3 {
  width: 100%;
  height: 100%;
  padding: 0.2em;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
  container-type: size;
  container-name: iblodHowSlide3;
}

/* --- Slide 3: editor portafolio con asistente IA --- */
.iblod-gallery-figma-root--3 .portfolio-editor-figma {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.52em;
  padding: 0.72em;
  border-radius: 1.05em;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow:
    0 20px 38px -20px rgba(68, 81, 158, 0.35),
    0 0 0 1px rgba(68, 81, 158, 0.05);
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  font-size: clamp(10px, 4.5cqmin, 15px);
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__flash-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__flash-layer[hidden] {
  display: none !important;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__flash {
  position: absolute;
  left: 50%;
  top: 72%;
  width: 24em;
  height: 24em;
  margin: -12em 0 0 -12em;
  border-radius: 50%;
  background: radial-gradient(circle, #5a6fd8 0%, #44519e 45%, transparent 70%);
  filter: blur(2px);
  animation: portfolioEditorFlashAnim 1.5s ease-out forwards;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__star {
  position: absolute;
  left: 50%;
  top: 72%;
  line-height: 1;
  user-select: none;
  animation: portfolioEditorTwinkleMove 1.5s ease-out forwards;
}

@keyframes portfolioEditorFlashAnim {
  from {
    transform: scale(0.3);
    opacity: 1;
  }
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

@keyframes portfolioEditorTwinkleMove {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.45);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.35);
  }
  60% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--sx, 0px)), calc(-50% + var(--sy, 0px))) scale(0.7);
  }
}

@supports not (font-size: 1cqmin) {
  .iblod-gallery-figma-root--3 .portfolio-editor-figma {
    font-size: clamp(10px, 2.4vmin, 15px);
  }
}

@container iblodHowSlide3 (min-width: 360px) {
  .iblod-gallery-figma-root--3 .portfolio-editor-figma {
    font-size: clamp(11px, 3.8cqmin, 15px);
  }
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__field {
  display: flex;
  flex-direction: column;
  gap: 0.26em;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__title {
  margin: 0 0 0.35em;
  color: #2d3748;
  font-size: 0.98em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__line {
  height: 0.28em;
  max-height: 3px;
  width: 7.25em;
  border-radius: 999px;
  background: linear-gradient(90deg, #44519e 0%, #5a6fd8 45%, #0acf97 100%);
  margin: -0.1em 0 0.42em;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__label {
  margin: 0;
  color: #111827;
  font-size: 0.79em;
  font-weight: 600;
  line-height: 1.2;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__input,
.iblod-gallery-figma-root--3 .portfolio-editor-figma__textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.62em;
  background: #f8fafc;
  color: #111827;
  box-sizing: border-box;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__input {
  min-height: 2.5em;
  padding: 0.5em 0.62em;
  font-size: 0.9em;
  line-height: 1.3;
  display: flex;
  align-items: center;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__cursor {
  margin-left: 2px;
  color: #44519e;
  animation: portfolioEditorBlink 0.75s infinite;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__cursor.is-hidden {
  visibility: hidden;
  animation: none;
}

@keyframes portfolioEditorBlink {
  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__textarea {
  min-height: 7.3em;
  padding: 0.48em 0.62em;
  font-size: 0.88em;
  line-height: 1.28;
  resize: none;
  overflow: hidden;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__textarea.is-zoom-in {
  animation: portfolioEditorTextareaZoomIn 0.42s ease-out;
  transform-origin: center;
}

@keyframes portfolioEditorTextareaZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 0 0 0 rgba(90, 111, 216, 0);
  }
  55% {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 0.45em 1.1em rgba(90, 111, 216, 0.22);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 rgba(90, 111, 216, 0);
  }
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-box {
  border: 1px solid #cfd8ff;
  border-radius: 0.72em;
  background: linear-gradient(180deg, #f7f9ff 0%, #edf2ff 100%);
  padding: 0.44em 0.52em;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-badge {
  color: #44519e;
  font-size: 0.74em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-copy {
  margin: 0.3em 0 0.42em;
  color: #4b5563;
  font-size: 0.72em;
  line-height: 1.3;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.65em;
  background: linear-gradient(90deg, #44519e 0%, #5a6fd8 50%, #0acf97 100%);
  color: #fff;
  font-size: 0.96em;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.56em 0.78em;
  box-shadow:
    0 10px 24px -6px rgba(90, 111, 216, 0.36),
    0 8px 10px -8px rgba(90, 111, 216, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn.is-pressed {
  transform: scale(0.97);
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn-idle,
.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn-busy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn-idle[hidden],
.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn-busy[hidden] {
  display: none !important;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: portfolioEditorSpin 0.7s linear infinite;
}

@keyframes portfolioEditorSpin {
  to {
    transform: rotate(360deg);
  }
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0) 65%);
  transform: scale(0.35);
  opacity: 0;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn.is-flash::after {
  animation: portfolioEditorButtonFlash 0.62s ease-out;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__ia-btn.is-flash::before {
  animation: portfolioEditorButtonPulse 0.62s ease-out;
}

@keyframes portfolioEditorButtonFlash {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    width: 13em;
    height: 13em;
    opacity: 0;
  }
}

@keyframes portfolioEditorButtonPulse {
  0% {
    opacity: 0.95;
    transform: scale(0.35);
  }

  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__row {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.72fr 0.9fr;
  gap: 0.36em;
  align-items: center;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__col {
  min-width: 0;
  color: #111827;
  font-size: 0.76em;
  line-height: 1.2;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__col--label,
.iblod-gallery-figma-root--3 .portfolio-editor-figma__col--value {
  font-weight: 600;
}

.iblod-gallery-figma-root--3 .portfolio-editor-figma__col--input .portfolio-editor-figma__input {
  min-height: 2.25em;
  padding: 0.42em 0.55em;
  font-size: 0.8em;
  background: #fff;
}

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--5 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  container-type: size;
  container-name: iblodHowSlide5;
}

.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--7 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  container-type: size;
}

/* Slide 0: bloque dedicado; container para unidades cq* (tamaño real del hueco media). */
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--0 {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  container-type: size;
  container-name: iblodHowSlide0;
}

/* --- Slide 1: presupuestos inteligentes con modal IA --- */
.iblod-gallery-figma-root--1 .budget-ai-figma {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.05em;
  background: #fff;
  box-shadow: 0 18px 34px -26px rgba(15, 23, 42, 0.3);
  color: #333;
  font-family: Poppins, sans-serif;
  font-size: clamp(12.6px, 5.45cqmin, 20px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  isolation: isolate;
  box-sizing: border-box;
}

.iblod-gallery-figma-root--1 .budget-ai-figma * {
  box-sizing: border-box;
  filter: none;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.72em;
  padding: 0.88em 1em;
  background: linear-gradient(135deg, #667eea 0%, #44519e 100%);
  color: #fff;
  font-size: 0.84em;
  line-height: 1.2;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__robot {
  width: 1.55em;
  height: 1.55em;
  display: inline-flex;
  flex: 0 0 auto;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__robot svg {
  width: 100%;
  height: 100%;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.68em;
  overflow: hidden;
  background: #fff;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__offer,
.iblod-gallery-figma-root--1 .budget-ai-figma__choices,
.iblod-gallery-figma-root--1 .budget-ai-figma__panel {
  border: 1px solid #e0e5ff;
  border-radius: 0.82em;
  background: #f8f9ff;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__offer {
  padding: 0.7em 0.82em;
  margin-bottom: 0.55em;
  transform-origin: top center;
  transition: opacity 0.42s ease, transform 0.42s ease, max-height 0.42s ease, margin 0.42s ease, padding 0.42s ease;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__label {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  color: #667eea;
  font-size: 0.8em;
  font-weight: 700;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__offer h4 {
  margin: 0.38em 0 0.34em;
  color: #222;
  font-size: 1.02em;
  line-height: 1.18;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__offer p {
  margin: 0 0 0.58em;
  color: #626262;
  font-size: 0.78em;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__tags {
  display: flex;
  gap: 0.34em;
  flex-wrap: wrap;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__tags span {
  padding: 0.22em 0.55em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8ddf3;
  color: #5e6470;
  font-size: 0.64em;
  white-space: nowrap;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__choices {
  padding: 0.52em 0.7em;
  margin-bottom: 0.56em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__choice,
.iblod-gallery-figma-root--1 .budget-ai-figma__mini-option,
.iblod-gallery-figma-root--1 .budget-ai-figma__strategy span {
  display: flex;
  align-items: center;
  gap: 0.48em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__choice {
  min-height: 1.75em;
  color: #333;
  font-size: 0.84em;
  font-weight: 700;
  line-height: 1.15;
  transition: color 0.26s ease, transform 0.26s ease;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__choice + .budget-ai-figma__choice {
  margin-top: 0.38em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__check {
  position: relative;
  width: 1.18em;
  height: 1.18em;
  flex: 0 0 auto;
  border-radius: 0.32em;
  background: #e9eef4;
  box-shadow: inset 0 0 0 1px rgba(68, 81, 158, 0.04);
  transition: background 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__check::after {
  content: '';
  position: absolute;
  left: 0.36em;
  top: 0.18em;
  width: 0.36em;
  height: 0.64em;
  border: solid #fff;
  border-width: 0 0.16em 0.16em 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__check.is-checked,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template [data-budget-ai-choice="template"] .budget-ai-figma__check,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom [data-budget-ai-choice="custom"] .budget-ai-figma__check {
  background: #1685f8;
  box-shadow: 0 0 0 0.18em rgba(22, 133, 248, 0.14);
  transform: scale(1.04);
}

.iblod-gallery-figma-root--1 .budget-ai-figma__check.is-checked::after,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template [data-budget-ai-choice="template"] .budget-ai-figma__check::after,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom [data-budget-ai-choice="custom"] .budget-ai-figma__check::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template [data-budget-ai-choice="template"],
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom [data-budget-ai-choice="custom"] {
  color: #1e3a8a;
  transform: translateX(0.12em);
}

.iblod-gallery-figma-root--1 .budget-ai-figma__panel {
  position: absolute;
  left: 0.68em;
  right: 0.68em;
  bottom: 0.68em;
  max-height: calc(100% - 8.4em);
  padding: 0.66em 0.74em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.8em);
  transition: opacity 0.42s ease, transform 0.42s ease;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom .budget-ai-figma__panel--custom,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template .budget-ai-figma__panel--template {
  opacity: 1;
  transform: translateY(0);
}

.iblod-gallery-figma-root--1 .budget-ai-figma__panel h5 {
  margin: 0 0 0.54em;
  color: #333;
  font-size: 0.86em;
  line-height: 1.2;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__focus-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.44em;
  margin-bottom: 0.54em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__focus-card {
  min-width: 0;
  padding: 0.42em 0.24em;
  border: 1px solid #e1e6ee;
  border-radius: 0.6em;
  background: #fff;
  text-align: center;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__focus-card.is-active {
  border-color: #667eea;
  box-shadow: 0 0 0 0.12em rgba(102, 126, 234, 0.18);
}

.iblod-gallery-figma-root--1 .budget-ai-figma__focus-card span {
  display: block;
  color: #667eea;
  font-size: 1.22em;
  line-height: 1;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__focus-card strong,
.iblod-gallery-figma-root--1 .budget-ai-figma__focus-card small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__focus-card strong {
  margin-top: 0.28em;
  color: #333;
  font-size: 0.64em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__focus-card small {
  color: #666;
  font-size: 0.54em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__mini-option {
  min-height: 1.55em;
  margin-top: 0.36em;
  color: #333;
  font-size: 0.72em;
  font-weight: 700;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__mini-option.is-muted {
  opacity: 0.58;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__strategy {
  margin-top: 0.52em;
  padding-top: 0.48em;
  border-top: 1px solid rgba(102, 126, 234, 0.16);
  color: #333;
  font-size: 0.66em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__strategy strong,
.iblod-gallery-figma-root--1 .budget-ai-figma__strategy span {
  margin-bottom: 0.32em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__panel--template {
  border-color: #667eea;
  background: #f7f5ff;
  max-height: calc(100% - 6em);
}

.iblod-gallery-figma-root--1 .budget-ai-figma__panel--template h5 {
  color: #667eea;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__panel--template p {
  margin: 0 0 0.64em;
  color: #666;
  font-size: 0.66em;
  line-height: 1.35;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__previous-card {
  width: 8.4em;
  padding: 0.72em;
  border: 1px solid #e2e8f0;
  border-radius: 0.62em;
  background: #fff;
  box-shadow: 0 0.3em 0.8em rgba(15, 23, 42, 0.08);
}

.iblod-gallery-figma-root--1 .budget-ai-figma__avatar {
  display: grid;
  place-items: center;
  width: 2.15em;
  height: 2.15em;
  border-radius: 50%;
  background: #2f3270;
  color: #fff;
  font-size: 1em;
  margin-bottom: 0.38em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__previous-card strong,
.iblod-gallery-figma-root--1 .budget-ai-figma__previous-card small,
.iblod-gallery-figma-root--1 .budget-ai-figma__previous-card b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__previous-card strong {
  color: #333;
  font-size: 0.72em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__previous-card small {
  margin-top: 0.12em;
  color: #555;
  font-size: 0.58em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__previous-card b {
  margin-top: 0.34em;
  color: #2452b6;
  font-size: 0.64em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template .budget-ai-figma__offer {
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-0.6em);
  border-width: 0;
}

@container iblodHowSlide1 (max-width: 360px) {
  .iblod-gallery-figma-root--1 .budget-ai-figma {
    border-radius: 0.92em;
    font-size: clamp(12px, 5.25cqmin, 19.2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .iblod-gallery-figma-root--1 .budget-ai-figma__offer,
  .iblod-gallery-figma-root--1 .budget-ai-figma__panel,
  .iblod-gallery-figma-root--1 .budget-ai-figma__choice,
  .iblod-gallery-figma-root--1 .budget-ai-figma__check,
  .iblod-gallery-figma-root--1 .budget-ai-figma__check::after {
    transition: none;
  }
}

.iblod-gallery-figma-root--1 .budget-ai-figma .modal-content {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: inherit;
  background: #fff;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .modal-header {
  flex: 0 0 auto;
  padding: 0.42em 0.62em;
  border: 0;
  align-items: center;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .modal-title {
  margin: 0;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.2;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .modal-title svg {
  width: 1.38em;
  height: 1.38em;
  flex: 0 0 auto;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .modal-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.28em;
  border: 1px solid #d8def8;
  border-top: 0;
  border-radius: 0 0 0.62em 0.62em;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .card {
  border-radius: 0.62em;
  box-shadow: none;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .card-body {
  padding: 0.62em 0.72em !important;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .mb-3 {
  margin-bottom: 0.42em !important;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .mb-2 {
  margin-bottom: 0.28em !important;
}

.iblod-gallery-figma-root--1 .budget-ai-figma h6,
.iblod-gallery-figma-root--1 .budget-ai-figma p,
.iblod-gallery-figma-root--1 .budget-ai-figma label {
  margin-top: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .font-weight-bold {
  font-weight: 700;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .text-muted {
  color: #666 !important;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.44em;
  margin: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .col-4 {
  min-width: 0;
  padding: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .custom-control {
  position: relative;
  min-height: 1.35em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding-left: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .custom-control-input {
  position: relative;
  width: 1.16em;
  height: 1.16em;
  flex: 0 0 auto;
  margin: 0;
  opacity: 1 !important;
  z-index: 1;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: #1685f8;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .custom-control-label {
  display: inline-flex !important;
  align-items: center;
  min-width: 0;
  margin: 0;
  line-height: 1.2;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .custom-control-label::before,
.iblod-gallery-figma-root--1 .budget-ai-figma .custom-control-label::after {
  display: none !important;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-oferta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.22em 0.55em;
  border-radius: 999px;
  background: #f1f3f5;
  color: #555;
  border: 1px solid #ddd;
  font-size: 0.7em;
  white-space: nowrap;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-tag-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #c8e6c9;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-tag-info {
  background: #e3f2fd;
  color: #1565c0;
  border-color: #bbdefb;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-opciones-base {
  transition: transform 0.26s ease;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom .ia-slide-opciones-base,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template .ia-slide-opciones-base {
  transform: none;
}

.iblod-gallery-figma-root--1 .budget-ai-figma__section {
  position: static;
  max-height: 0;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: max-height 0.42s ease, opacity 0.32s ease, margin 0.42s ease, padding 0.42s ease, border-width 0.42s ease;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom .budget-ai-figma__section--custom,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template .budget-ai-figma__section--template {
  opacity: 1;
  margin-bottom: 0.55em !important;
  pointer-events: auto;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom .budget-ai-figma__section--custom {
  max-height: 34em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template .budget-ai-figma__section--template {
  max-height: 12em;
  padding-top: 0.66em !important;
  padding-bottom: 0.66em !important;
  border-width: 1px !important;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template .modal-body > .card {
  max-height: 0;
  margin-bottom: 0 !important;
  opacity: 0;
  transform: translateY(-0.6em);
  overflow: hidden;
  transition: opacity 0.42s ease, transform 0.42s ease, max-height 0.42s ease, margin 0.42s ease;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .modal-body > .card {
  max-height: 9.5em;
  transition: opacity 0.42s ease, transform 0.42s ease, max-height 0.42s ease, margin 0.42s ease;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-enfoque-card {
  cursor: default;
  border: 1px solid #e1e6ee;
  transition: all 0.2s ease;
  background: #fff;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-enfoque-card.active {
  border-color: #667eea;
  background: #f8f9ff;
  box-shadow: 0 0 0 0.12em rgba(102, 126, 234, 0.18);
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-enfoque-card h6 {
  color: #333;
  font-size: 0.68em;
  font-weight: 600;
  line-height: 1.2;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-enfoque-card small {
  display: block;
  font-size: 0.56em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-balance-icon {
  width: 5.6em;
  height: 3.9em;
  margin: 0 auto;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-balance-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-incluye-materiales-wrap {
  margin-bottom: 0.38em !important;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-incluye-materiales-wrap small {
  line-height: 1.24;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-estrategia-wrap {
  font-size: 0.76em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-portafolio-grid {
  display: flex;
  gap: 0.62em;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-card {
  width: 8.6em;
  padding: 0.72em;
  border: 1px solid #e2e8f0;
  border-radius: 0.62em;
  background: #fff;
  box-shadow: 0 0.3em 0.8em rgba(15, 23, 42, 0.08);
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-avatar {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background: #2f3270;
  color: #fff;
  margin-bottom: 0.38em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-card strong,
.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-card small,
.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-card b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-card strong {
  color: #333;
  font-size: 0.82em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-card small {
  color: #555;
  font-size: 0.66em;
}

.iblod-gallery-figma-root--1 .budget-ai-figma .ia-slide-presupuesto-card b {
  margin-top: 0.34em;
  color: #2452b6;
  font-size: 0.74em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen {
  position: absolute;
  inset: 0.28em;
  display: flex;
  flex-direction: column;
  gap: 0.32em;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-intro .budget-ai-screen--intro,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom .budget-ai-screen--custom,
.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-template .budget-ai-screen--template {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.iblod-gallery-figma-root--1 .budget-ai-screen .ia-slide-opciones-base {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0.5em 0.64em !important;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--intro {
  justify-content: stretch;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--intro .budget-ai-offer-card {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 !important;
  overflow: hidden;
}

/* Dar mas alto visible al bloque "Oferta a cotizar" */
.iblod-gallery-figma-root--1 .budget-ai-screen--intro .budget-ai-offer-card {
  min-height: 10.8em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--intro .budget-ai-offer-card h6 {
  font-size: 0.94em;
  line-height: 1.15;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--intro .budget-ai-offer-card .font-weight-bold {
  margin-top: 0.7em !important;
  font-size: 0.95em !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--intro .budget-ai-offer-card p.text-muted {
  display: -webkit-box;
  margin-bottom: 0.48em !important;
  overflow: hidden !important;
  color: #626262 !important;
  font-size: 0.9em !important;
  line-height: 1.3 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.iblod-gallery-figma-root--1 .budget-ai-screen .custom-control {
  min-height: 1.08em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-slide-opciones-base .custom-control {
  min-width: 0;
  min-height: 1.45em;
  justify-content: flex-start;
  gap: 0.42em;
  padding: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-slide-opciones-base .custom-control + .custom-control {
  margin-top: 0.3em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen .custom-control-label {
  font-size: 0.7em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Intro y plantilla: checkboxes (texto demasiado pequeño con 0.7em heredado) */
.iblod-gallery-figma-root--1 .budget-ai-screen--intro .ia-slide-opciones-base .custom-control,
.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-slide-opciones-base .custom-control {
  min-height: 1.55em;
  align-items: flex-start;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--intro .ia-slide-opciones-base .custom-control-label,
.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-slide-opciones-base .custom-control-label {
  font-size: 0.82em;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-slide-opciones-base .custom-control-label {
  display: inline-flex !important;
  font-size: 0.9em;
  line-height: 1.14;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-slide-opciones-base .custom-control-input {
  width: 1.08em;
  height: 1.08em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .form-group {
  flex: 0 0 auto;
  margin: 0 !important;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-custom-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.36em;
  min-height: 0;
  top: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-figma.is-state-custom .budget-ai-screen--custom .budget-ai-custom-flow {
  animation: budgetAiCustomFlow 6s ease-in-out 4s both;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-custom-flow > .form-group:not(.ia-incluye-materiales-wrap):not(.budget-ai-strategy-row) {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-custom-flow > .form-group:not(.ia-incluye-materiales-wrap):not(.budget-ai-strategy-row) > label {
  display: block;
  flex: 0 0 auto;
  margin-bottom: 0.36em;
  font-size: 0.8em !important;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .row {
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .col-4 {
  display: flex;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  min-width: 0;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-enfoque-card {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  overflow: hidden;
  border-radius: 0.72em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-balance-icon {
  width: min(100%, 6.2em);
  height: 4.35em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-enfoque-card .card-body {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.36em 0.24em !important;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-enfoque-card h6 {
  max-width: 100%;
  margin-top: 0.24em !important;
  font-size: 0.78em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-enfoque-card small {
  display: none;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-costs-row {
  display: block;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-incluye-materiales-wrap {
  flex: 0 0 auto;
  padding: 0.5em 0.62em !important;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-strategy-row {
  display: block;
  flex: 0 0 auto;
  padding: 0.5em 0.62em !important;
  overflow: visible;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-incluye-materiales-wrap .custom-control-label,
.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-strategy-row > label {
  font-size: 0.9em;
  line-height: 1.18;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-incluye-materiales-wrap small {
  display: -webkit-box !important;
  overflow: hidden;
  font-size: 0.66em !important;
  line-height: 1.18 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-strategy-row small {
  display: block !important;
  overflow: visible;
  font-size: 0.64em !important;
  line-height: 1.3 !important;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  white-space: normal;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-estrategia-wrap {
  min-height: 1.42em;
  font-size: 0.9em;
  line-height: 1.18;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .budget-ai-strategy-row .custom-control-label {
  display: flex !important;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.22em 0.35em;
  white-space: normal;
  overflow: visible;
  font-size: 0.9em;
  line-height: 1.18;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-estrategia-wrap .custom-control-label span {
  white-space: nowrap;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--custom .ia-estrategia-wrap .custom-control-label small {
  margin-left: 0;
  font-size: 1em !important;
  line-height: 1.15 !important;
}

@keyframes budgetAiCustomFlow {
  0%,
  33.333% {
    top: 0;
  }

  66.666%,
  100% {
    /* Evita que suba de mas y deje hueco blanco abajo. */
    top: -13.8em;
  }
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .budget-ai-template-section {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.78em 0.86em !important;
  overflow: hidden;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .budget-ai-template-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #667eea;
  z-index: 3;
  pointer-events: none;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .budget-ai-template-section h6 {
  font-size: 0.94em;
  line-height: 1.15;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .budget-ai-template-section p {
  display: -webkit-box;
  flex: 0 0 auto;
  margin-bottom: 0.72em !important;
  overflow: hidden;
  font-size: 0.72em !important;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-slide-presupuesto-card {
  width: min(9.2em, 74%);
  padding: 0.62em 0.64em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-slide-presupuesto-avatar {
  width: 2.25em;
  height: 2.25em;
  margin-bottom: 0.3em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-slide-presupuesto-card strong {
  font-size: 0.78em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-slide-presupuesto-card small {
  font-size: 0.64em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-slide-presupuesto-card b {
  margin-top: 0.24em;
  font-size: 0.68em;
}

.iblod-gallery-figma-root--1 .budget-ai-screen--template .ia-presupuestos-container {
  overflow: hidden;
}

/* --- Slide 0: solicitar cotización + asistente IA (figma/solicitar_cotizacion) --- */
/* Tamaño con cqmin (encaja en el cuadrado del carrusel); fallback vmin si no hay CQ. */
.iblod-gallery-figma-root--0 .sc-solicitar-viewport {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  /* Base más contenida para tarjetas ~300–360px (labels/inputs no “explotan”) */
  font-size: clamp(10px, 2.85cqmin, 16px);
}

@supports not (font-size: 1cqmin) {
  .iblod-gallery-figma-root--0 .sc-solicitar-viewport {
    font-size: clamp(10px, 1.75vmin, 16px);
  }
}

@container iblodHowSlide0 (max-width: 520px) {
  .iblod-gallery-figma-root--0 .sc-solicitar-viewport {
    font-size: clamp(9px, 2.55cqmin, 15px);
  }
}

@container iblodHowSlide0 (max-width: 380px) {
  .iblod-gallery-figma-root--0 .sc-solicitar-viewport {
    font-size: clamp(9px, 2.35cqmin, 14px);
  }
}

.iblod-gallery-figma-root--0 .sc-solicitar-scale {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card {
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.55em;
  background: #fff;
  border-radius: 1em;
  padding: 0.9em 1em 1em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 25px 50px -12px rgba(90, 111, 216, 0.22),
    0 0 0 1px rgba(68, 81, 158, 0.06);
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro {
  justify-content: flex-start;
  padding-top: 0.82em;
  padding-bottom: 0.9em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-result {
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .iblod-gallery-figma-root--0 .sc-solicitar-scale {
    padding: 0;
  }

  .iblod-gallery-figma-root--0 .sc-solicitar-card {
    width: 100%;
  }
}

.iblod-gallery-figma-root--0 .sc-solicitar-flash-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.iblod-gallery-figma-root--0 .sc-solicitar-flash-layer[hidden] {
  display: none !important;
}

.iblod-gallery-figma-root--0 .sc-solicitar-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26em;
  height: 26em;
  margin: -13em 0 0 -13em;
  border-radius: 50%;
  background: radial-gradient(circle, #5a6fd8 0%, #44519e 45%, transparent 70%);
  filter: blur(2px);
  animation: scSolicitarFlashAnim 1.5s ease-out forwards;
}

.iblod-gallery-figma-root--0 .sc-solicitar-star {
  position: absolute;
  left: 50%;
  top: 50%;
  line-height: 1;
  user-select: none;
  animation: scSolicitarTwinkleMove 1.5s ease-out forwards;
}

.iblod-gallery-figma-root--0 .sc-solicitar-star:nth-child(4n) {
  color: #5a6fd8;
}

.iblod-gallery-figma-root--0 .sc-solicitar-star:nth-child(4n + 1) {
  color: #44519e;
}

.iblod-gallery-figma-root--0 .sc-solicitar-star:nth-child(4n + 2) {
  color: #6f9bff;
}

.iblod-gallery-figma-root--0 .sc-solicitar-star:nth-child(4n + 3) {
  color: #0acf97;
}

@keyframes scSolicitarFlashAnim {
  from {
    transform: scale(0.3);
    opacity: 1;
  }
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

@keyframes scSolicitarTwinkleMove {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.45);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.35);
  }
  60% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--sx, 0px)), calc(-50% + var(--sy, 0px))) scale(0.7);
  }
}

.iblod-gallery-figma-root--0 .sc-solicitar-head {
  flex-shrink: 0;
  margin-bottom: 0.1em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro .sc-solicitar-head {
  margin-bottom: 0.7em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-h {
  margin: 0 0 0.35em;
  font-size: 1.62em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #2d3748;
}

.iblod-gallery-figma-root--0 .sc-solicitar-line {
  height: 0.28em;
  max-height: 3px;
  width: 7.25em;
  border-radius: 999px;
  background: linear-gradient(90deg, #44519e 0%, #5a6fd8 45%, #0acf97 100%);
}

.iblod-gallery-figma-root--0 .sc-solicitar-fields {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.82em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro .sc-solicitar-fields {
  justify-content: flex-start;
  gap: 0.62em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-result .sc-solicitar-fields {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 0.74em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-fields > .sc-solicitar-field:not(.sc-solicitar-field--hidden) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-label {
  display: block;
  margin: 0;
  font-size: 1.18em;
  font-weight: 600;
  line-height: 1.25;
  color: #4a5568;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-result .sc-solicitar-label {
  font-size: 1.1em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-req {
  color: #e53e3e;
}

.iblod-gallery-figma-root--0 .sc-solicitar-titlebox {
  min-height: 2.85em;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5em 0.75em;
  border: 1px solid #e2e8f0;
  border-radius: 0.85em;
  background: rgba(247, 250, 252, 0.85);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 1.24em;
  line-height: 1.35;
  color: #1a202c;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-result .sc-solicitar-titlebox {
  font-size: 1.24em;
  padding: 0.56em 0.82em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro .sc-solicitar-titlebox {
  min-height: 3.25em;
  padding: 0.58em 0.85em;
  font-size: 1.38em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-cursor {
  display: inline-block;
  margin-left: 2px;
  font-weight: 300;
  color: #5a6fd8;
}

.iblod-gallery-figma-root--0 .sc-solicitar-cursor.sc-solicitar-typing-on {
  animation: scSolicitarBlink 0.7s infinite;
}

.iblod-gallery-figma-root--0 .sc-solicitar-cursor.sc-solicitar-typing-off {
  display: none;
}

@keyframes scSolicitarBlink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.iblod-gallery-figma-root--0 .sc-solicitar-assistant {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 0.85em;
  padding: 0.5em 0.65em 0.55em;
  border: 1px solid rgba(90, 111, 216, 0.22);
  background: linear-gradient(135deg, rgba(90, 111, 216, 0.08) 0%, rgba(10, 207, 151, 0.08) 100%);
  box-shadow: 0 6px 16px -6px rgba(90, 111, 216, 0.18);
}

.iblod-gallery-figma-root--0 .sc-solicitar-assistant.sc-solicitar-assistant--out {
  display: none;
}

.iblod-gallery-figma-root--0 .sc-solicitar-assistant-head {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 0.35em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-assistant-icon {
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  border-radius: 0.65em;
  color: #fff;
  background: linear-gradient(90deg, #44519e 0%, #5a6fd8 45%, #0acf97 100%);
  box-shadow: 0 4px 12px rgba(90, 111, 216, 0.35);
}

.iblod-gallery-figma-root--0 .sc-solicitar-assistant-icon .sc-solicitar-sparkle {
  width: 1.78em;
  height: 1.78em;
}

/* px: el botón tiene font-size en em y evita compounding de iconos */
.iblod-gallery-figma-root--0 .sc-solicitar-sparkle--btn {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.iblod-gallery-figma-root--0 .sc-solicitar-assistant-badge {
  font-size: 0.94em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6fd8;
}

.iblod-gallery-figma-root--0 .sc-solicitar-assistant-copy {
  flex: 0 1 auto;
  margin: 0.25em 0 0.4em;
  font-size: 1.1em;
  line-height: 1.38;
  color: #718096;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro .sc-solicitar-assistant {
  margin-top: 0.05em;
  padding: 0.58em 0.72em 0.68em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro .sc-solicitar-assistant-head {
  margin-bottom: 0.36em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro .sc-solicitar-assistant-copy {
  font-size: 0.98em;
  line-height: 1.3;
  margin-bottom: 0.42em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-accent {
  color: #5a6fd8;
  font-weight: 600;
}

.iblod-gallery-figma-root--0 .sc-solicitar-btn {
  margin-top: 0.35em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1.26em;
  font-weight: 600;
  color: #fff;
  padding: 0.48em 0.65em;
  border-radius: 0.65em;
  background: linear-gradient(90deg, #44519e 0%, #5a6fd8 45%, #0acf97 100%);
  box-shadow:
    0 10px 25px -5px rgba(90, 111, 216, 0.32),
    0 8px 10px -6px rgba(90, 111, 216, 0.28);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-intro .sc-solicitar-btn {
  padding: 0.6em 0.8em;
  font-size: 1.08em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-btn:hover:not(:disabled) {
  box-shadow:
    0 18px 32px -5px rgba(90, 111, 216, 0.42),
    0 10px 14px -6px rgba(90, 111, 216, 0.35);
  transform: translateY(-1px);
}

.iblod-gallery-figma-root--0 .sc-solicitar-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.iblod-gallery-figma-root--0 .sc-solicitar-btn-idle,
.iblod-gallery-figma-root--0 .sc-solicitar-btn-busy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-btn-busy[hidden],
.iblod-gallery-figma-root--0 .sc-solicitar-btn-idle[hidden] {
  display: none !important;
}

.iblod-gallery-figma-root--0 .sc-solicitar-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: scSolicitarSpin 0.7s linear infinite;
}

@keyframes scSolicitarSpin {
  to {
    transform: rotate(360deg);
  }
}

.iblod-gallery-figma-root--0 .sc-solicitar-fields > .sc-solicitar-field:first-child {
  flex-shrink: 0;
}

/* Descripción: altura contenida; scroll si el texto es largo */
.iblod-gallery-figma-root--0 .sc-solicitar-fields > .sc-solicitar-field[data-sc-field-desc].sc-solicitar-field--visible {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: auto;
}

.iblod-gallery-figma-root--0 .sc-solicitar-fields > .sc-solicitar-field[data-sc-field-cat] {
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* Mayor especificidad que la regla del flex de .sc-solicitar-field (si no, display:flex ganaba y se veían desc/cat al cargar). */
.iblod-gallery-figma-root--0 .sc-solicitar-fields > .sc-solicitar-field.sc-solicitar-field--hidden {
  display: none !important;
}

.iblod-gallery-figma-root--0 .sc-solicitar-field--visible {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4em;
  animation: scSolicitarZoomIn 0.6s ease-out forwards;
}

.iblod-gallery-figma-root--0 .sc-solicitar-field--delay.sc-solicitar-field--visible {
  animation-delay: 0.15s;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes scSolicitarZoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.iblod-gallery-figma-root--0 .sc-solicitar-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.36em 0.55em;
  border: 1px solid #e2e8f0;
  border-radius: 0.85em;
  background: rgba(247, 250, 252, 0.9);
  font-size: 1.12em;
  line-height: 1.3;
  color: #2d3748;
  resize: none;
  font-family: inherit;
  flex: 0 0 auto;
  min-height: 3.5em;
  max-height: none;
  overflow-y: hidden;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-result .sc-solicitar-textarea {
  font-size: 1.18em;
  min-height: 6.2em;
  height: auto;
}

.iblod-gallery-figma-root--0 .sc-solicitar-select-wrap {
  position: relative;
}

.iblod-gallery-figma-root--0 .sc-solicitar-select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5em 2.5em 0.5em 0.72em;
  border: 1px solid #e2e8f0;
  border-radius: 0.85em;
  background: rgba(247, 250, 252, 0.9);
  font-size: 1.14em;
  line-height: 1.35;
  color: #2d3748;
  appearance: none;
  cursor: default;
  font-family: inherit;
}

.iblod-gallery-figma-root--0 .sc-solicitar-card.is-solicitar-result .sc-solicitar-select {
  font-size: 1.22em;
  padding: 0.56em 2.6em 0.56em 0.8em;
}

.iblod-gallery-figma-root--0 .sc-solicitar-select-chev {
  position: absolute;
  right: 0.85em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05em;
  color: #a0aec0;
  pointer-events: none;
}

/* --- Slide 4: estructura de costos --- */
.iblod-gallery-figma-root--4 .cost-figma {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 1.1em;
  background: #fff;
  border: 1px solid #dbe3f4;
  box-shadow:
    0 20px 38px -20px rgba(68, 81, 158, 0.35),
    0 0 0 1px rgba(68, 81, 158, 0.05);
  overflow: hidden;
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
  font-size: clamp(11px, 4.8cqmin, 16px);
}

@supports not (font-size: 1cqmin) {
  .iblod-gallery-figma-root--4 .cost-figma {
    font-size: clamp(11px, 2.4vmin, 16px);
  }
}

@container iblodHowSlide4 (min-width: 360px) {
  .iblod-gallery-figma-root--4 .cost-figma {
    font-size: clamp(13px, 3.6cqmin, 16px);
  }
}

.iblod-gallery-figma-root--4 .cost-figma__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7em;
  padding: 0.7em 0.9em;
  background: #5b5ba6;
  color: #fff;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.2;
  flex-shrink: 0;
}

.iblod-gallery-figma-root--4 .cost-figma__chevron {
  transition: transform 0.3s ease;
}

.iblod-gallery-figma-root--4 .cost-figma.is-expanded .cost-figma__chevron {
  transform: rotate(180deg);
}

.iblod-gallery-figma-root--4 .cost-figma__panel {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.iblod-gallery-figma-root--4 .cost-figma.is-expanded .cost-figma__panel {
  flex: 1 1 auto;
  max-height: 100%;
  opacity: 1;
  overflow: hidden;
}

.iblod-gallery-figma-root--4 .cost-figma__form {
  flex: 0 0 auto;
  padding: 0.65em 0.75em 0.65em;
  border-bottom: 1px solid #e5e7eb;
}

.iblod-gallery-figma-root--4 .cost-figma__field-row {
  display: flex;
  gap: 0.5em;
  margin-top: 0.55em;
}

.iblod-gallery-figma-root--4 .cost-figma__field,
.iblod-gallery-figma-root--4 .cost-figma__field--half {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.iblod-gallery-figma-root--4 .cost-figma__field {
  width: 100%;
}

.iblod-gallery-figma-root--4 .cost-figma__field--half {
  width: 50%;
  min-width: 0;
}

.iblod-gallery-figma-root--4 .cost-figma__label {
  font-size: 0.78em;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.iblod-gallery-figma-root--4 .cost-figma__label span {
  color: #dc2626;
}

.iblod-gallery-figma-root--4 .cost-figma__input,
.iblod-gallery-figma-root--4 .cost-figma__select {
  width: 100%;
  padding: 0.45em 0.6em;
  border: 1px solid #d1d5db;
  border-radius: 0.6em;
  background: #fff;
  font-size: 0.82em;
  color: #111827;
  box-sizing: border-box;
  line-height: 1.25;
}

.iblod-gallery-figma-root--4 .cost-figma__btn {
  margin-top: 0.6em;
  border: none;
  border-radius: 0.6em;
  background: #5b5ba6;
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.55em 1em;
  transition: transform 0.15s ease, background 0.2s ease;
}

.iblod-gallery-figma-root--4 .cost-figma__btn.is-pressed {
  transform: scale(0.96);
  background: #4a4a8a;
}

.iblod-gallery-figma-root--4 .cost-figma__table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.6em 0.75em 0.7em;
  overflow: auto;
}

.iblod-gallery-figma-root--4 .cost-figma__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d1d5db;
  border-radius: 0.6em;
  overflow: hidden;
  font-size: 0.75em;
  color: #111827;
}

.iblod-gallery-figma-root--4 .cost-figma__table thead {
  background: #e5e7eb;
}

.iblod-gallery-figma-root--4 .cost-figma__table th,
.iblod-gallery-figma-root--4 .cost-figma__table td {
  padding: 0.45em 0.55em;
  border-bottom: 1px solid #d1d5db;
  line-height: 1.25;
}

.iblod-gallery-figma-root--4 .cost-figma__table th {
  text-align: left;
  font-weight: 700;
}

.iblod-gallery-figma-root--4 .cost-figma__table td:nth-child(2),
.iblod-gallery-figma-root--4 .cost-figma__table th:nth-child(2) {
  text-align: center;
}

.iblod-gallery-figma-root--4 .cost-figma__table td:last-child,
.iblod-gallery-figma-root--4 .cost-figma__table th:last-child {
  text-align: right;
}

.iblod-gallery-figma-root--4 .cost-figma__table tbody tr:last-child td {
  border-bottom: none;
}

.iblod-gallery-figma-root--4 .cost-figma__table tbody tr.is-new {
  animation: costFigmaNewRow 0.55s ease-out;
}

@keyframes costFigmaNewRow {
  from {
    background: #dbeafe;
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    background: #f3f4f6;
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Slide 5: comentarios --- */
.iblod-gallery-figma-root--5 .comments-figma {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.7em;
  border-radius: 1.3em;
  background: #fff;
  box-shadow:
    0 22px 40px -24px rgba(30, 45, 110, 0.42),
    0 0 0 1px rgba(68, 81, 158, 0.08);
  padding: 0.9em 1em 1em;
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  font-size: clamp(10px, 4.3cqmin, 15px);
}

@supports not (font-size: 1cqmin) {
  .iblod-gallery-figma-root--5 .comments-figma {
    font-size: clamp(10px, 2.4vmin, 15px);
  }
}

@container iblodHowSlide5 (min-width: 340px) {
  .iblod-gallery-figma-root--5 .comments-figma {
    font-size: clamp(13px, 3.6cqmin, 16px);
  }
}

.iblod-gallery-figma-root--5 .comments-figma__step {
  opacity: 0;
  transform: translateY(0.8em) scale(0.96);
  transition:
    opacity 0.36s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.iblod-gallery-figma-root--5 .comments-figma__step.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.iblod-gallery-figma-root--5 .comments-figma__brand {
  width: 9.8em;
  height: 9.8em;
  margin: 0.1em auto 0.2em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow:
    0 10px 20px rgba(30, 45, 110, 0.18),
    0 4px 10px rgba(30, 45, 110, 0.12);
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0.65em;
}

.iblod-gallery-figma-root--5 .comments-figma__step[data-comments-step="brand"] {
  transform: scale(0.72);
}

.iblod-gallery-figma-root--5 .comments-figma__step[data-comments-step="brand"].is-visible {
  transform: scale(1);
}

.iblod-gallery-figma-root--5 .comments-figma__brand-mark {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.iblod-gallery-figma-root--5 .comments-figma__brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.iblod-gallery-figma-root--5 .comments-figma__name {
  text-align: center;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #44519e 0%, #4a7cc8 50%, #44519e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 0.15em;
}

.iblod-gallery-figma-root--5 .comments-figma__panel {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.iblod-gallery-figma-root--5 .comments-figma__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #d8dfef 12%, #d8dfef 88%, transparent 100%);
  margin: 0;
  flex: 0 0 auto;
}

.iblod-gallery-figma-root--5 .comments-figma__heading {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #2d3a7a;
  font-size: 0.76em;
  font-weight: 600;
  line-height: 1.2;
}

.iblod-gallery-figma-root--5 .comments-figma__heading .fa {
  font-size: 1.15em;
}

.iblod-gallery-figma-root--5 .comments-figma__switch {
  position: relative;
  width: 100%;
  height: 2.6em;
  border-radius: 2em;
  background: #abebc6;
  transition: background 0.3s ease, transform 0.3s ease;
  flex: 0 0 auto;
  margin-top: 0.1em;
}

.iblod-gallery-figma-root--5 .comments-figma__switch.is-positive {
  background: #abebc6;
}

.iblod-gallery-figma-root--5 .comments-figma__switch.is-negative {
  background: #f1948a;
}

.iblod-gallery-figma-root--5 .comments-figma__switch.is-pulsing {
  animation: commentsFigmaPulse 0.45s ease-in-out;
}

.iblod-gallery-figma-root--5 .comments-figma__switch-track {
  position: absolute;
  inset: 0;
}

.iblod-gallery-figma-root--5 .comments-figma__switch-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  font-weight: 600;
  color: #1f2937;
  transition: opacity 0.25s ease, left 0.3s ease, right 0.3s ease;
  white-space: nowrap;
}

.iblod-gallery-figma-root--5 .comments-figma__switch.is-negative .comments-figma__switch-side {
  color: #5b1f1a;
}

.iblod-gallery-figma-root--5 .comments-figma__switch-side--left {
  left: 1em;
}

.iblod-gallery-figma-root--5 .comments-figma__switch-side--right {
  left: calc(50% + 0.8em);
  right: auto;
}

.iblod-gallery-figma-root--5 .comments-figma__switch-pill {
  position: absolute;
  left: 0.28em;
  top: 0.22em;
  width: calc(50% - 0.36em);
  height: calc(100% - 0.44em);
  border-radius: 1.6em;
  background: #fff;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: 600;
  color: #1f2937;
  transition: left 0.3s ease;
  white-space: nowrap;
}

.iblod-gallery-figma-root--5 .comments-figma__switch.is-negative .comments-figma__switch-pill {
  left: calc(50% + 0.1em);
}

@keyframes commentsFigmaPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

/* --- Slide 6: red de trabajo --- */
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--6 {
  align-items: stretch;
  justify-content: stretch;
  container-type: size;
  container-name: iblodHowSlide6;
}

.iblod-gallery-figma-root--6 .network-figma {
  position: relative;
  flex: 0 1 auto;
  width: 88%;
  max-width: 88%;
  margin: 0 auto;
  min-width: 0;
  min-height: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1.25em;
  background: #fff;
  padding: 0.82em;
  font-family: Poppins, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  font-size: clamp(13px, 3.95cqmin, 18.5px);
}

@supports not (font-size: 1cqmin) {
  .iblod-gallery-figma-root--6 .network-figma {
    font-size: clamp(13px, 2.3vmin, 18.5px);
  }
}

.iblod-gallery-figma-root--6 .network-figma__title {
  margin: 0 0 0.55em;
  font-size: 0.86em;
  font-weight: 600;
  color: #1e3a8a;
}

.iblod-gallery-figma-root--6 .network-figma__divider {
  height: 1px;
  background: #e2e8f0;
  margin-bottom: 0.75em;
}

.iblod-gallery-figma-root--6 .network-figma__label {
  display: block;
  margin-bottom: 0.32em;
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.iblod-gallery-figma-root--6 .network-figma__label span {
  color: #c0392b;
}

.iblod-gallery-figma-root--6 .network-figma__input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.75em;
  padding: 0.68em 0.85em;
  border: 1px solid #cbd5e1;
  border-radius: 0.85em;
  background: #f8fafc;
  color: #334155;
  font-size: 0.88em;
}

.iblod-gallery-figma-root--6 .network-figma__options {
  display: grid;
  gap: 0.5em;
  margin-bottom: 0.75em;
}

.iblod-gallery-figma-root--6 .network-figma__option {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.68em 0.8em;
  border: 1px solid #e2e8f0;
  border-radius: 0.95em;
  background: #fff;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.iblod-gallery-figma-root--6 .network-figma__option > div {
  flex: 1 1 auto;
  min-width: 0;
}

.iblod-gallery-figma-root--6 .network-figma__option.is-selected {
  border-color: #2d3a8c;
  background: #eef2ff;
  box-shadow: 0 0 0 1px rgba(45, 58, 140, 0.15);
}

.iblod-gallery-figma-root--6 .network-figma__radio {
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #c0c8e0;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.iblod-gallery-figma-root--6 .network-figma__option.is-selected .network-figma__radio {
  border-color: #2d3a8c;
  background: #2d3a8c;
}

.iblod-gallery-figma-root--6 .network-figma__option.is-selected .network-figma__radio::after {
  content: '';
  position: absolute;
  inset: 0.22em;
  border-radius: 50%;
  background: #fff;
}

.iblod-gallery-figma-root--6 .network-figma__option-title {
  display: block;
  font-size: 0.86em;
  font-weight: 600;
  color: #1e293b;
}

.iblod-gallery-figma-root--6 .network-figma__option-copy {
  display: block;
  margin-top: 0.15em;
  font-size: 0.72em;
  color: #64748b;
}

.iblod-gallery-figma-root--6 .network-figma__btn {
  width: 100%;
  border: none;
  border-radius: 0.85em;
  padding: 0.72em 0.95em;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.88em;
  font-weight: 600;
  transition: transform 0.16s ease;
}

.iblod-gallery-figma-root--6 .network-figma__btn.is-pressed {
  transform: scale(0.98);
}

.iblod-gallery-figma-root--6 .network-figma__flight {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.iblod-gallery-figma-root--6 .network-figma__launch-glow {
  position: absolute;
  left: 50%;
  bottom: 0.9em;
  width: 5.6em;
  height: 5.6em;
  margin-left: -2.8em;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(138, 174, 245, 0.42) 0%, rgba(30, 58, 138, 0.22) 38%, rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  transform: scale(0.55);
}

.iblod-gallery-figma-root--6 .network-figma__trail-dots {
  position: absolute;
  left: 50%;
  bottom: 2.67em;
  width: 0;
  height: 0;
  pointer-events: none;
}

.iblod-gallery-figma-root--6 .network-figma__trail-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 0.38em;
  height: 0.38em;
  margin-left: -0.19em;
  margin-top: -0.19em;
  border-radius: 50%;
  background: #3d5fa8;
  box-shadow: 0 0 0.35em rgba(30, 58, 138, 0.4);
  opacity: 0;
  transform: translate(var(--dx), var(--dy)) scale(0.5);
}

.iblod-gallery-figma-root--6 .network-figma__trail::before,
.iblod-gallery-figma-root--6 .network-figma__trail::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: inherit;
}

.iblod-gallery-figma-root--6 .network-figma__trail::before {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(191, 219, 254, 0.4) 35%, rgba(255, 255, 255, 0.96) 100%);
  opacity: 0.9;
}

.iblod-gallery-figma-root--6 .network-figma__trail::after {
  width: 1.6em;
  height: 1.6em;
  left: auto;
  right: -0.2em;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(147, 197, 253, 0.45) 38%, rgba(255, 255, 255, 0) 72%);
  filter: blur(0.08em);
}

.iblod-gallery-figma-root--6 .network-figma.is-flying .network-figma__launch-glow {
  animation: networkFigmaLaunchGlow 0.6s ease-out forwards;
}

.iblod-gallery-figma-root--6 .network-figma.is-flying .network-figma__trail-dot {
  animation: networkFigmaTrailDot 1.1s ease-out forwards;
  animation-delay: var(--ddelay);
}

.iblod-gallery-figma-root--6 .network-figma__plane {
  position: absolute;
  left: 50%;
  bottom: 1.1em;
  width: 4.3em;
  height: 3.13em;
  margin-left: -2.15em;
  opacity: 0;
  transform-origin: 78% 55%;
}

.iblod-gallery-figma-root--6 .network-figma__plane-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.iblod-gallery-figma-root--6 .network-figma.is-flying .network-figma__plane {
  animation: networkFigmaFly 1.9s linear forwards;
}

.iblod-gallery-figma-root--6 .network-figma__burst {
  position: absolute;
  right: 0.35em;
  top: 0.35em;
  width: 5.2em;
  height: 5.2em;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(220, 232, 255, 0.9) 18%, rgba(138, 174, 245, 0.55) 36%, rgba(30, 58, 138, 0.18) 56%, rgba(255, 255, 255, 0) 74%);
  opacity: 0;
  transform: scale(0.26);
}

.iblod-gallery-figma-root--6 .network-figma__burst::before,
.iblod-gallery-figma-root--6 .network-figma__burst::after {
  content: '';
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  border-radius: 50%;
  opacity: 0;
}

.iblod-gallery-figma-root--6 .network-figma__burst::before {
  width: 100%;
  height: 100%;
  border: 0.18em solid rgba(30, 58, 138, 0.65);
  box-shadow:
    0 0 0.9em rgba(30, 58, 138, 0.26),
    inset 0 0 0 0.12em rgba(138, 174, 245, 0.55);
}

.iblod-gallery-figma-root--6 .network-figma__burst::after {
  width: 1.35em;
  height: 1.35em;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(220, 232, 255, 0.95) 38%, rgba(255, 255, 255, 0) 74%);
  box-shadow:
    0 -1.45em 0 -0.42em rgba(30, 58, 138, 0.9),
    0 1.45em 0 -0.42em rgba(61, 95, 168, 0.85),
    1.45em 0 0 -0.42em rgba(138, 174, 245, 0.95),
    -1.45em 0 0 -0.42em rgba(179, 204, 250, 0.92),
    1.02em 1.02em 0 -0.48em rgba(220, 232, 255, 0.95),
    -1.02em -1.02em 0 -0.48em rgba(138, 174, 245, 0.85),
    1.02em -1.02em 0 -0.48em rgba(61, 95, 168, 0.75),
    -1.02em 1.02em 0 -0.48em rgba(255, 255, 255, 0.95);
}

.iblod-gallery-figma-root--6 .network-figma.is-bursting .network-figma__burst {
  animation: networkFigmaBurst 0.68s ease-out forwards;
}

.iblod-gallery-figma-root--6 .network-figma.is-bursting .network-figma__burst::before {
  animation: networkFigmaBurstRing 0.68s ease-out forwards;
}

.iblod-gallery-figma-root--6 .network-figma.is-bursting .network-figma__burst::after {
  animation: networkFigmaBurstSpark 0.68s ease-out forwards;
}

@keyframes networkFigmaFly {
  0% {
    opacity: 0;
    transform: translate(0, 0.4em) rotate(-14deg) scale(0.78);
  }

  8% {
    opacity: 1;
    transform: translate(0.12em, -0.7em) rotate(-70deg) scale(1);
  }

  22% {
    transform: translate(0.55em, -3.4em) rotate(-72deg) scale(1.04);
  }

  38% {
    transform: translate(1.7em, -7.3em) rotate(-64deg) scale(1.05);
  }

  56% {
    transform: translate(3.6em, -11.2em) rotate(-52deg) scale(1.02);
  }

  74% {
    transform: translate(5.9em, -13.8em) rotate(-38deg) scale(0.9);
  }

  90% {
    opacity: 0.85;
    transform: translate(7.7em, -15.2em) rotate(-24deg) scale(0.66);
  }

  100% {
    opacity: 0;
    transform: translate(8.9em, -15.6em) rotate(-16deg) scale(0.48);
  }
}

@keyframes networkFigmaTrailDot {
  0% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.35);
  }

  22% {
    opacity: 0.55;
    transform: translate(var(--dx), var(--dy)) scale(1);
  }

  55% {
    opacity: 0.38;
    transform: translate(var(--dx), var(--dy)) scale(0.95);
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.7);
  }
}

@keyframes networkFigmaLaunchGlow {
  0% {
    opacity: 0.7;
    transform: scale(0.45);
  }

  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@keyframes networkFigmaBurst {
  0% {
    opacity: 0.95;
    transform: scale(0.26);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes networkFigmaBurstRing {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.22);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@keyframes networkFigmaBurstSpark {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.35) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2) rotate(24deg);
  }
}

/* --- Slide 7: portafolio en presupuesto --- */
.iblod-gallery-item .iblod-gallery-item-media .iblod-gallery-figma-root--7 {
  align-items: stretch;
  justify-content: stretch;
  container-type: size;
  container-name: iblodHowSlide7;
}

.iblod-gallery-figma-root--7 .portfolio-figma {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 1.05em;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 18px 34px -26px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
  isolation: isolate;
}

.iblod-gallery-figma-root--7 .portfolio-figma__screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.985);
  transition:
    opacity 0.6s ease,
    filter 0.6s ease,
    transform 0.6s ease;
}

.iblod-gallery-figma-root--7 .portfolio-figma__screen--active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  z-index: 2;
}

.iblod-gallery-figma-root--7 .portfolio-figma__screen-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
  transform: scale(1);
}

.iblod-gallery-figma-root--7 .portfolio-figma__screen--budget .portfolio-figma__screen-layer {
  inset: 0 0.8em;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 97% auto;
  transform: scale(1);
  transition:
    background-position 2.15s cubic-bezier(0.65, 0, 0.35, 1),
    background-size 2.15s cubic-bezier(0.65, 0, 0.35, 1),
    transform 2.15s cubic-bezier(0.65, 0, 0.35, 1);
}

.iblod-gallery-figma-root--7 .portfolio-figma.is-step-budget-scroll .portfolio-figma__screen--budget .portfolio-figma__screen-layer {
  background-position: center bottom;
  background-size: 99% auto;
  transform: scale(1);
}

.iblod-gallery-figma-root--7 .portfolio-figma.is-step-list-zoom .portfolio-figma__screen--list .portfolio-figma__screen-layer {
  transform: scale(1.12);
  transition: transform 2s cubic-bezier(0.65, 0, 0.35, 1);
}

.iblod-gallery-figma-root--7 .portfolio-figma__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

@container iblodHowSlide7 (max-width: 360px) {
  .iblod-gallery-figma-root--7 .portfolio-figma {
    border-radius: 0.92em;
  }

  .iblod-gallery-figma-root--7 .portfolio-figma__screen--budget .portfolio-figma__screen-layer {
    background-size: 95% auto;
  }

  .iblod-gallery-figma-root--7 .portfolio-figma.is-step-budget-scroll .portfolio-figma__screen--budget .portfolio-figma__screen-layer {
    background-size: 98% auto;
  }

  .iblod-gallery-figma-root--7 .portfolio-figma.is-step-list-zoom .portfolio-figma__screen--list .portfolio-figma__screen-layer {
    transform: scale(1.08);
  }
}
