/* ========================================================================== 
   ONIRIC HOME
   Elementos exclusivos de la Home.

   IMPORTANTE:
   - Conserva el offset del menú respecto al ribbon superior.
   - La anchura horizontal depende de .oniric-page-frame, definida en common.
   - Las páginas secundarias incluidas más abajo en este archivo se mantienen.
   ========================================================================== */

.oniric-home-view {
    background-color: #000000;
    color: #ffffff;
    overflow-x: clip;
}

.oniric-home-view *,
.oniric-home-view *::before,
.oniric-home-view *::after {
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Ribbon + navegación
   Esta lógica existía en el CSS correcto y no debe eliminarse.
   -------------------------------------------------------------------------- */

@media (min-width: 992px) {
    .oniric-custom-navbar-desktop {
        top: var(--oniric-navbar-top-with-ribbon, 100px) !important;
    }

    .oniric-custom-navbar-desktop.scrolled {
        top: 0 !important;
    }

    .oniric-home-hero {
        height: 100vh;
        min-height: 54.0625rem;
        padding-top: var(--oniric-home-hero-top-offset, 180px) !important;
    }

    .oniric-hero-content-wrapper {
        gap: clamp(5rem, 6.25vw, 7.5rem);
    }

    .oniric-hero-title {
        line-height: 0.76;
    }

    /* Solapamiento específico de la Home sobre el banner final. */
    .oniric-footer {
        position: relative;
        z-index: 10;
        margin-top: -574px !important;
        background: linear-gradient(
            110.12deg,
            rgba(255, 255, 255, 0.25) 8.05%,
            rgba(255, 255, 255, 0.15) 91.8%
        ) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        backdrop-filter: blur(5px) !important;
    }
}

/* ========================================================================== 
   1. HERO
   ========================================================================== */

.oniric-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: 54.0625rem;

    display: flex;
    align-items: stretch;
    justify-content: center;

    padding: 0;
    margin: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.oniric-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.oniric-home-hero-frame {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
	    padding-bottom: 10rem;

}

.oniric-hero-content-wrapper {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 53 rem;

    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;

    padding-block: 0 5rem;
    gap: clamp(7rem, 9vw, 9rem);

    text-align: center;
}

.oniric-hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    transform: translateY(8.5rem);
}

.oniric-hero-title {
    max-width: 100%;
    margin: 0;

    color: #ffffff;
    font-family: var(--bs-body-font-family);
    font-size: clamp(3rem, 4.2vw, 4.3rem);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.oniric-hero-subtitle {
    margin: 0;

    color: #ffffff;
    font-family: var(--bs-body-font-family);
    font-size: clamp(1.125rem, 1.56vw, 1.7rem);
    font-weight: 400;
    line-height: 1.25;
    text-wrap: balance;
}

.oniric-hero-kicker {
    margin: 0;

    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.21em;
    text-transform: uppercase;
    white-space: nowrap;
}

.oniric-hero-button-block {
    display: flex;
    justify-content: center;
    transform: translateY(3rem);
}

/* ========================================================================== 
   2. RECOVERY TEST BANNER
   Se conserva porque pertenece al CSS original, aunque no aparece en index.php.
   ========================================================================== */

.oniric-recovery-test-banner {
    position: relative;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-block: var(--oniric-section-padding-y, 7.5rem);
    background-color: #000000;
    color: #ffffff;
}

.oniric-recovery-banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 4.167vw, 5rem);
}

.oniric-recovery-banner-info {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.4375rem;
}

.oniric-recovery-eyebrow {
    margin: 0;

    color: rgba(255, 255, 255, 0.60);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.oniric-recovery-heading {
    margin: 0;

    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 3.375vw, 3.375rem);
    font-weight: 400;
    line-height: 1.157;
    text-align: center;
    text-wrap: balance;
}

.oniric-recovery-banner-description {
    width: 100%;
}

.oniric-recovery-desc-text {
    margin: 0;

    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

.oniric-recovery-card {
    width: 100%;
    min-height: 28.1875rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;

    padding: clamp(2rem, 3.125vw, 3.75rem);
    border: 1px solid rgba(255, 255, 255, 0.60);
    border-radius: 1.5625rem;

    background-color: rgba(0, 0, 0, 0.40);
    -webkit-backdrop-filter: blur(3.4px);
    backdrop-filter: blur(3.4px);
    box-shadow: 0 0.25rem 1.5625rem rgba(255, 255, 255, 0.25);

    transition: box-shadow 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.oniric-recovery-card:hover {
    transform: translateY(-0.125rem);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0.5rem 2.1875rem rgba(255, 255, 255, 0.35);
}

.oniric-recovery-card-content {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.oniric-recovery-card-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.25vw, 2.25rem);
    font-weight: 400;
    line-height: 1.25;
}

.oniric-recovery-card-desc {
    margin: 0;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================================================== 
   3. SERVICIOS
   ========================================================================== */

.oniric-services-section {
    width: 100%;
    padding-block: var(--oniric-section-padding-y, 7.5rem);

    display: flex;
    justify-content: center;
    align-items: center;

    background: #000000;
}

.oniric-services-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oniric-services-info {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.oniric-services-info-inner {
    width: 68%;

    /* display: flex; */
    flex-direction: column;
    align-items: center;
    gap: 2.4375rem;
}

.oniric-services-heading {
    margin: 0;
    text-align: center;
	    color: var(--bs-oniric-white);

}

.oniric-services-cards-row {
    width: 100%;
	    margin-top: 110px !important;
	
    margin: clamp(3.5rem, 5.208vw, 6.25rem) 0 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--oniric-grid-gap, 2.46%);

    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.oniric-services-cards-row > [class*='col-'] {
    width: auto;
    max-width: none;
    padding: 0;
}

.oniric-service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: clamp(28rem, 30vw, 36rem);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(2.5rem, 3vw, 3rem);

    padding: clamp(2.25rem, 3.88vw, 3.9rem);
    border: 1px solid rgb(157 157 157 / 44%);
    border-radius: 1.5625rem;

    background:
        linear-gradient(99deg, rgba(255, 255, 255, 0.20) 8.05%, rgba(255, 255, 255, 0.12) 91.8%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%),
        var(--card-bg) lightgray 50% / cover no-repeat;

    -webkit-backdrop-filter: blur(3.4px);
    backdrop-filter: blur(3.4px);
    box-shadow: 0 0.25rem 1.5625rem rgba(255, 255, 255, 0.25);

    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 350ms ease,
                border-color 350ms ease;
}

.oniric-service-card:hover {
    transform: translateY(-0.375rem);
    border-color: rgba(255, 255, 255, 0.80);
    box-shadow: 0 0.75rem 2.1875rem rgba(255, 255, 255, 0.32);
}

.oniric-service-card-content,
.oniric-service-card-action {
    position: relative;
    z-index: 1;
}

.oniric-service-card-content {
    width: 82%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.oniric-service-card-title {
    margin: 0 0 5.8rem;
    color: #ffffff;
    font-size: clamp(1.5rem, 1.85vw, 2.25rem);
    font-weight: 400;
    line-height: 1.875rem;
    /* letter-spacing: -0.02em; */
    min-height: 4rem;
}

.oniric-service-card-desc {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.25rem, 1.302082vw, 1.4rem);
    font-weight: 400;
    line-height: 1.5rem;
    /* letter-spacing: -0.02em; */
}

/* ========================================================================== 
   4. PROCESO
   ========================================================================== */

.oniric-steps-grid-section {
    width: 100%;
    padding-block: var(--oniric-section-padding-y, 7.5rem);

    display: flex;
    justify-content: center;
    align-items: center;

    background: #000000;
}

.oniric-steps-grid-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oniric-steps-grid-heading {
    width: 60%;
    margin-inline: auto;
    text-align: center;
}

.oniric-steps-grid-row {
    width: 100%;
	margin-top: 100px !important;
    margin: clamp(3.5rem, 4.167vw, 5rem) 0 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.oniric-steps-grid-row > [class*='col-'] {
    width: auto;
    max-width: none;
    padding: 0;
}

.oniric-step-block {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: clamp(15rem, 17vw, 20rem);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(2rem, 3.5vw, 4rem);

    padding: clamp(1.875rem, 2.083vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.60);
    border-radius: 1.5625rem;

    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0.125rem 0.70625rem rgba(255, 255, 255, 0.25);

    transition: background 400ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.oniric-step-block:hover,
.oniric-step-block.active {
    transform: translateY(-0.3125rem);
    background: linear-gradient(107.98deg, rgba(255, 255, 255, 0.20) 8.05%, rgba(255, 255, 255, 0.08) 91.8%);
    box-shadow: 0 0.375rem 1.5625rem rgba(255, 255, 255, 0.25);
}

.oniric-step-header {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.oniric-step-badge {
    min-height: 2.25rem;
    padding: 0.625rem 2rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: var(--oniric-radius-pill, 91px);
    background: linear-gradient(126.25deg, rgba(255, 255, 255, 0.20) 8.05%, rgba(255, 255, 255, 0.12) 91.8%);

    -webkit-backdrop-filter: blur(3.4px);
    backdrop-filter: blur(3.4px);
    box-shadow: 0 0.25rem 1.5625rem rgba(255, 255, 255, 0.25);

    color: rgba(255, 255, 255, 0.60);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.oniric-step-icon-btn {
    width: 2.0625rem;
    height: 2rem;
    flex: 0 0 auto;

    background-image: url('https://www.figma.com/api/mcp/asset/d5a6ab85-0aef-4df4-8063-0f9184559a81');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    transition: background-image 300ms ease, transform 300ms ease;
}

.oniric-step-block:hover .oniric-step-icon-btn,
.oniric-step-block.active .oniric-step-icon-btn {
    background-image: url('https://www.figma.com/api/mcp/asset/6ff0f79c-f8de-45cd-9f3d-736b22146004');
    transform: translateX(0.1875rem);
}

.oniric-step-content {
    width: 88%;
}

.oniric-step-title-text {
    margin: 0 0 0.625rem;

    color: #ffffff;
    font-size: clamp(1.125rem, 1.25vw, 1.5rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.oniric-step-desc-text {
    margin: 0;

    color: rgba(255, 255, 255, 0.70);
    font-size: clamp(0.875rem, 0.9vw, 1rem);
    font-weight: 400;
    line-height: 1.57;
}

/* ========================================================================== 
   5. SIGUIENTES PASOS
   ========================================================================== */

.oniric-next-steps-section {
    width: 100%;
    padding-block: var(--oniric-section-padding-y, 7.5rem);
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    background: #000000;
}

.oniric-next-steps-frame {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.oniric-next-steps-heading {
    width: 60%;
    margin: 0 0 clamp(2.5rem, 3.125vw, 3.75rem);
}

.oniric-steps-row-container {
    width: 100%;
    margin: 0 auto;
}

.oniric-next-row {
    width: 100%;
    padding-block: clamp(2rem, 2.5vw, 3rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    transition: background-color 300ms ease;
}

.oniric-next-row:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.oniric-next-row:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.oniric-next-row-inner {
    --bs-gutter-x: 2.46%;
    --bs-gutter-y: 1.5rem;

    padding-block: 0.5rem;
}

.oniric-row-icon-box {
    width: clamp(2.5rem, 3vw, 3.5rem);
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oniric-row-icon-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oniric-row-title {
    margin: 0 0 0.625rem;

    color: #ffffff;
    font-size: clamp(1.25rem, 1.5vw, 1.875rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.oniric-row-desc {
    margin: 0;

    color: rgba(255, 255, 255, 0.70);
    font-size: clamp(0.9375rem, 1vw, 1.125rem);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* ========================================================================== 
   RESPONSIVE HOME
   ========================================================================== */

@media (max-width: 1199.98px) {
    .oniric-services-info-inner,
    .oniric-steps-grid-heading,
    .oniric-next-steps-heading {
        width: 74%;
    }

    .oniric-service-card-content,
    .oniric-step-content {
        width: 92%;
    }
}

@media (max-width: 991.98px) {
    .oniric-home-hero {
        min-height: 46rem;
        background-position: 58% center;
    }

    .oniric-hero-content-wrapper {
        min-height: 46rem;
        padding-block: 8rem 4rem;
        gap: 3.5rem;
    }

    .oniric-hero-text-block,
    .oniric-hero-button-block {
        transform: none;
    }

    .oniric-services-info-inner,
    .oniric-steps-grid-heading,
    .oniric-next-steps-heading {
        width: 84%;
    }

    .oniric-services-cards-row,
    .oniric-steps-grid-row {
        grid-template-columns: 1fr;
        gap: clamp(2.5rem, 7vw, 2.6rem);
    }

    .oniric-service-card {
        min-height: 29rem;
    }

    .oniric-step-block {
        min-height: 17rem;
    }

    .oniric-recovery-banner-container {
        width: var(--oniric-page-width-tablet, 90%);
    }
}

@media (max-width: 767.98px) {
    .oniric-services-section,
    .oniric-steps-grid-section,
    .oniric-next-steps-section {
        padding-block: clamp(2rem, 9vw, 4rem);
    }

    .oniric-services-info-inner,
    .oniric-steps-grid-heading,
    .oniric-next-steps-heading,
    .oniric-service-card-content,
    .oniric-step-content {
        width: 100%;
    }

    .oniric-service-card {
        min-height: 25rem;
        padding: 2rem;
    }

    .oniric-step-block {
        min-height: 16rem;
        padding: 1.875rem;
        border-radius: 1.25rem;
    }

    .oniric-step-header {
        align-items: flex-start;
    }

    .oniric-step-badge {
        max-width: calc(100% - 3rem);
        padding-inline: 1.25rem;
        white-space: normal;
        text-align: center;
    }

    .oniric-next-row {
        text-align: center;
    }

    .oniric-row-icon-box {
        margin: 0 auto 1rem;
    }

    .oniric-next-row .text-md-end {
        text-align: center !important;
    }

    .oniric-recovery-banner-container {
        width: 100%;
		 margin-inline: auto;
    }
	
	    .oniric-footer {
        position: relative;
        z-index: 10;
        margin-top: -630px !important;
        backdrop-filter: blur(5px) !important;
    }
	
}

@media (max-width: 575.98px) {
	
	.oniric-row-icon-box img {
    display: block;
    width: 3.125rem!important;
    height: 3.125rem !important;
    max-width: 3.125rem;
    object-fit: contain;
}

	
	
    .oniric-rest-performance-hero {
        min-height: 42rem !important;
		    background-position: calc(50% - 135px) center !important;
			font-size: clamp(2.2rem, 9.7vw, 3rem);

    }
	
	.oniric-row-title {

    font-size: clamp(1rem, 1.5vw, 1.2rem);

}

.oniric-row-desc {

    font-size: clamp(0.75rem, 1vw, 1rem);

}
	
	    .oniric-next-row {
        text-align: left !important;
    }

    .oniric-hero-content-wrapper {
        min-height: 30rem;
		padding-block: 0rem !important;
    }

    .oniric-service-card,
    .oniric-step-block {
        padding: 2.5rem;
    }

    .oniric-service-card {
        min-height: 15rem;
    }

    .oniric-service-card {
        min-height: 19rem;
    }

    .oniric-step-badge {
        font-size: 0.5625rem;
        letter-spacing: 0.12rem;
    }
	
	.oniric-service-card-title {
		font-size: 1rem !important;
		    margin: 0 0 1.875rem;

	}
	
	.oniric-service-card-desc {

    font-size: clamp(0.875rem, 2.6vw, 1rem);
    font-weight: 400;
    line-height: 1rem;
}

.oniric-services-cards-row {
    margin-top: 5rem !important;

}

		
		    .oniric-row-icon-box {
        margin: 0 0 0rem!important; 
    }
}

@media (prefers-reduced-motion: reduce) {
    .oniric-home-view *,
    .oniric-home-view *::before,
    .oniric-home-view *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   "Descanso y Rendimiento" (Rest Performance) Page Styles (Figma Node 239:614)
   -------------------------------------------------------------------------- */

.oniric-rest-performance-view .oniric-performance-hero {
    position: relative;
    min-height: 865px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 140px;
    padding-bottom: 60px;
}

.oniric-rest-performance-view .oniric-performance-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%), 
        linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.oniric-performance-hero-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px; /* Responsive gap */
}

.oniric-performance-hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.oniric-performance-eyebrow {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3.36px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.oniric-performance-hero-title {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-weight: 300; /* Light weight exactly from Figma */
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 0;
}

.oniric-science-section {
    padding: 120px 0;
    background-color: #000000;
}

.oniric-science-tag {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.56px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.oniric-science-title {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(22px, 3.5vw, 36px);
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 0;
}

.oniric-science-text {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.oniric-action-cards-section {
    padding: 120px 0;
    background-color: #000000;
}

/* Actions cards styling (Figma Node 239:840) */
.oniric-action-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 305px;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    box-shadow: 0px 4px 25px rgba(255, 255, 255, 0.15);
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.oniric-action-card-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(98.96deg, rgba(255, 255, 255, 0.2) 8.05%, rgba(255, 255, 255, 0.12) 91.80%), 
        linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(3.4px);
    -webkit-backdrop-filter: blur(3.4px);
    z-index: 1;
    border-radius: 25px;
}

.oniric-action-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0px 8px 30px rgba(255, 255, 255, 0.25),
        0px 22px 60px rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.85);
}

.oniric-action-card-content {
    position: relative;
    z-index: 2;
    height: 153px;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.oniric-action-card-title {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

.oniric-action-card-btn {
    position: relative;
    z-index: 2;
    width: 33px;
    height: 32px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.oniric-action-card-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oniric-action-card:hover .oniric-action-card-btn {
    transform: translateX(4px) scale(1.1);
}

@media (min-width: 992px) {
    .oniric-rest-performance-view .oniric-performance-hero {
        padding-top: 180px !important;
        min-height: 865px;
    }
    .oniric-performance-hero-wrapper {
        gap: 120px;
    }
    .oniric-performance-hero-title {
        line-height: 1.03; /* Matches Figma's line-height precisely on desktop */
    }
}

@media (max-width: 991.98px) {
    .oniric-science-section,
    .oniric-action-cards-section {
        padding: 80px 0;
    }
    .oniric-science-text {
        padding-left: 0;
        border-left: none;
        margin-top: 15px;
    }
    .oniric-action-card {
        aspect-ratio: 1.1 / 1;
        min-height: 270px;
        padding: 30px;
    }
    .oniric-action-card-content {
        height: auto;
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .oniric-science-section,
    .oniric-action-cards-section {
        padding: 60px 0;
    }
    .oniric-rest-performance-view .oniric-performance-hero {
        min-height: 600px;
    }
	
	.oniric-hero-subtitle {
    font-size: clamp(1rem, 1.56vw, 1.7rem);
	}
	
	.oniric-home-index-hero {

		background-position: calc(50% + 135px) center !important;
}

	
	
}

/* --------------------------------------------------------------------------
   HERO - OSMO Image to Background Zoom adaptado a Oniric
   Imagen se desarrolla debajo del H1 y pasa a fondo
   -------------------------------------------------------------------------- */

.background-zoom.oniric-performance-hero.oniric-hero-bg-zoom {
    color: var(--oniric-white, #F1F1EE);
    background-color: #000;
    background-image: none !important;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    min-height: 185svh;

    padding-top: calc(50dvh - 18em);
    padding-left: 1em;
    padding-right: 1em;

    overflow: clip;
    position: relative;
    isolation: isolate;
}

/* Título principal */
.oniric-hero-bg-zoom__title {
    position: relative;
    z-index: 8;

    width: 100%;
    max-width: 1080px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    pointer-events: none;

    will-change: transform, opacity;
}

.oniric-hero-bg-zoom__title a,
.oniric-hero-bg-zoom__title button {
    pointer-events: auto;
}

/* Eyebrow */
.oniric-hero-bg-zoom .oniric-performance-eyebrow {
    display: block;

    margin-bottom: clamp(18px, 2vw, 28px);

    font-family: "Plus Jakarta Sans", var(--bs-body-font-family);
    font-size: clamp(12px, 1vw, 17px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.28em;
    text-transform: uppercase;

    color: rgba(241, 241, 238, 0.62);
}

/* H1 */
.oniric-hero-bg-zoom .background-zoom__h.oniric-performance-hero-title {
    max-width: 1080px;

    margin-top: 0;
    margin-bottom: 0;

    font-family: "Plus Jakarta Sans", var(--bs-body-font-family);
    font-size: clamp(54px, 6vw, 104px);
    font-weight: 300;
    line-height: 0.94;
    letter-spacing: -0.06em;

    color: #F1F1EE;
    text-align: center;
}

/* Botón debajo del H1 */
.oniric-hero-bg-zoom .oniric-performance-hero-button-block {
    margin-top: clamp(58px, 8vh, 110px);
    position: relative;
    z-index: 9;
}

/* Imagen inicial debajo del botón */
.oniric-hero-bg-zoom .background-zoom__start.oniric-hero-bg-zoom__start {
    position: relative;
    z-index: 4;

    width: clamp(380px, 42vw, 680px);
    aspect-ratio: 16 / 10;

    margin-top: clamp(34px, 5vh, 70px);

    border-radius: clamp(30px, 3vw, 52px);
}

/* Elemento que GSAP/Flip transforma */
.oniric-hero-bg-zoom .background-zoom__content.oniric-hero-bg-zoom__content {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 4;

    width: 100%;
    height: 100%;

    overflow: hidden;
    border-radius: inherit;

    background-color: #201D1D;

    will-change: width, height, transform, border-radius;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.55),
        0 4px 25px rgba(255, 255, 255, 0.10);
}

/* Imagen */
.oniric-hero-bg-zoom .background-zoom__img.oniric-hero-bg-zoom__img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    will-change: transform;
}

/* Overlay interno muy suave */
.oniric-hero-bg-zoom .background-zoom__dark.oniric-hero-bg-zoom__dark {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.32) 0%,
            rgba(0, 0, 0, 0.10) 42%,
            rgba(0, 0, 0, 0.56) 100%
        );

    pointer-events: none;
}

/* Destino final: pantalla completa */
.oniric-hero-bg-zoom .background-zoom__end.oniric-hero-bg-zoom__end {
    position: relative;
    z-index: 1;

    width: 100vw;
    height: 100dvh;

    border-radius: 0;

    /*
      Esto controla cuándo termina de abrirse la imagen.
      Si quieres que se abra antes, baja este margen.
    */
    margin-top: 14dvh;
}

/* MUY IMPORTANTE:
   anulamos cualquier overlay global negro anterior */
.background-zoom.oniric-hero-bg-zoom::after,
.oniric-performance-hero.oniric-hero-bg-zoom::after {
    content: none !important;
}

/* Evita herencias del CSS original de OSMO que generaban fases extra */
.oniric-hero-bg-zoom .background-zoom__text,
.oniric-hero-bg-zoom__text-spacer {
    display: none !important;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .background-zoom.oniric-performance-hero.oniric-hero-bg-zoom {
        padding-top: calc(50dvh - 16em);
    }

    .oniric-hero-bg-zoom .background-zoom__start.oniric-hero-bg-zoom__start {
        width: min(76vw, 560px);
    }
}

@media screen and (max-width: 767px) {
    .background-zoom.oniric-performance-hero.oniric-hero-bg-zoom {
        min-height: 170svh;
        padding-top: calc(50dvh - 13em);
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .oniric-hero-bg-zoom .background-zoom__h.oniric-performance-hero-title {
        font-size: clamp(40px, 11vw, 58px);
        line-height: 1;
    }

    .oniric-hero-bg-zoom .oniric-performance-eyebrow {
        font-size: 11px;
        letter-spacing: 0.22em;
    }

    .oniric-hero-bg-zoom .oniric-performance-hero-button-block {
        margin-top: 54px;
    }

    .oniric-hero-bg-zoom .background-zoom__start.oniric-hero-bg-zoom__start {
        width: min(86vw, 380px);
        aspect-ratio: 1 / 1;
        border-radius: 34px;
        margin-top: 42px;
    }

    .oniric-hero-bg-zoom .background-zoom__end.oniric-hero-bg-zoom__end {
        margin-top: 10dvh;
    }
}


.background-zoom {
  color: #f4f4f4;
  background-color: #353d35;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(50dvh - 15em);
  padding-left: 1em;
  padding-right: 1em;
  display: flex;
  overflow: clip;
}

.background-zoom__h {
  text-align: center;
  letter-spacing: -.04em;
  max-width: 7em;
  margin-top: 7rem;
  margin-bottom: -.375em;
  font-size: 4.5em;
  font-weight: 400;
  line-height: .95;
}

.background-zoom__h.is--margin-top {
  margin-top: 33dvh;
}

.background-zoom__h1-span {
  color: #aba994;
}

.background-zoom__start {
  aspect-ratio: 1;
  border-radius: 16em;
  width: 16em;
  position: relative;
}

.background-zoom__content {
  border-radius: inherit;
  will-change: width, height, transform;
  background-color: #aba994;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
  left: 0%;
  overflow: hidden;
}

.background-zoom__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.background-zoom__pod {
  color: #ff4800;
  text-align: center;
  letter-spacing: -.02em;
  width: 100%;
  font-size: 1.25em;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  top: 1.25em;
}

.background-zoom__play {
  width: 4em;
  height: 4em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.background-zoom__play-svg {
  width: 100%;
}

.background-zoom__dark {
  opacity: 0;
  background-color: #0d0f0d;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.background-zoom__end {
  width: 100vw;
  height: 100dvh;
}

.background-zoom__text {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  align-items: center;
  width: 100%;
  padding-bottom: calc(50dvh - 12em);
  display: flex;
  position: relative;
}

.background-zoom-after {
  color: #353d35;
  font-size: var(--size-font);
  background-color: #f4f4f4;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100dvh;
  padding-left: 1em;
  padding-right: 1em;
  display: flex;
  position: relative;
}

.background-zoom-after__pod {
  color: #ff4800;
  text-align: center;
  letter-spacing: -.02em;
  width: 100%;
  font-size: 1.25em;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  bottom: 1.25em;
}

@media screen and (max-width: 767px) {
  .background-zoom__h {
    font-size: 3.75em;
  }
}


/* ==========================================================================
   8. ONIRIC TECH SPECIFIC STYLES (tech.php adaptation)
   ========================================================================== */

.oniric-tech-section-clean {
    background-color: #000000;
}

.oniric-tech-ibv-note {
    font-size: 0.9rem;
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    padding-left: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

.oniric-material-logo-wrapper img {
    max-height: 100%;
    object-fit: contain;
}

.oniric-step-block:hover .oniric-material-logo-wrapper {
    background-color: rgba(255, 255, 255, 0.06);
}

/* =========================================================
   MODAL EVOLUTION CORE — GLASSMORPHISM
   ========================================================= */

#evolutionCoreModal {
    --bs-modal-width: none;
    padding: 0 !important;
}

/* Fondo general del modal */
#evolutionCoreModal.modal {
    background: rgba(0, 0, 0, 0.12);
}

/* Ventana al 80% del viewport */
#evolutionCoreModal .modal-dialog {
    width: 80vw;
    max-width: 80vw;
    height: 80vh;
    max-height: 80vh;

    margin: 10vh auto;
}

/* Contenedor glass */
#evolutionCoreModal .modal-content {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    max-height: 80vh;

    overflow: hidden;

    color: #f1f1ee;

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(35, 35, 38, 0.78) 0%,
            rgba(12, 12, 14, 0.72) 55%,
            rgba(0, 0, 0, 0.82) 100%
        );

    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 0 35px rgba(255, 255, 255, 0.05);
}

/* Línea de brillo superior */
#evolutionCoreModal .modal-content::before {
    content: "";

    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.65),
        transparent
    );

    pointer-events: none;
}

/* Cabecera */
#evolutionCoreModal .modal-header {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    padding: 1.25rem 1.75rem;

    color: #f1f1ee;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(255, 255, 255, 0.025);
}

/* Eyebrow */
#evolutionCoreModal .oniric-modal-eyebrow {
    display: block;

    margin-bottom: 0.35rem;

    color: rgba(241, 241, 238, 0.48);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Título */
#evolutionCoreModal .modal-title {
    margin: 0;

    color: #f1f1ee;

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.15rem, 1.7vw, 1.65rem);
    font-weight: 400;
    line-height: 1.2;
}

/* Botón cerrar */
#evolutionCoreModal .btn-close {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0.75rem;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.06);

    opacity: 0.85;

    transition:
        background-color 200ms ease,
        border-color 200ms ease,
        opacity 200ms ease,
        transform 200ms ease;
}

#evolutionCoreModal .btn-close:hover {
    transform: rotate(90deg);

    border-color: rgba(255, 255, 255, 0.38);
    background-color: rgba(255, 255, 255, 0.12);

    opacity: 1;
}

/* Cuerpo */
#evolutionCoreModal .modal-body {
    flex: 1 1 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 0;
    padding: 1.5rem;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 255, 255, 0.035),
            transparent 55%
        );
}

/* Imagen ampliada */
#evolutionCoreModal .oniric-modal-image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: 16px;
}

/* Backdrop */
.modal-backdrop.show {
    opacity: 0.86;
    background-color: #000;
}

/* Animación de entrada */
#evolutionCoreModal.fade .modal-dialog {
    transform: scale(0.94) translateY(18px);

    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 250ms ease;
}

#evolutionCoreModal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablets y portátiles pequeños */
@media (max-width: 1199.98px) {
    #evolutionCoreModal .modal-dialog {
        width: 90vw;
        max-width: 90vw;

        height: 86vh;
        max-height: 86vh;

        margin: 7vh auto;
    }

    #evolutionCoreModal .modal-content {
        max-height: 86vh;
    }
}

/* Tablets verticales y móviles */
@media (max-width: 767.98px) {
    #evolutionCoreModal .modal-dialog {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);

        height: calc(100dvh - 1rem);
        max-height: calc(100dvh - 1rem);

        margin: 0.5rem auto;
    }

    #evolutionCoreModal .modal-content {
        max-height: calc(100dvh - 1rem);

        border-radius: 20px;
    }

    #evolutionCoreModal .modal-header {
        padding: 1rem 1.1rem;
    }

    #evolutionCoreModal .modal-body {
        padding: 0.65rem;
    }

    #evolutionCoreModal .btn-close {
        width: 2.4rem;
        height: 2.4rem;
    }
}

/* Móviles muy estrechos */
@media (max-width: 479.98px) {
    #evolutionCoreModal .modal-dialog {
        width: 100vw;
        max-width: 100vw;

        height: 100dvh;
        max-height: 100dvh;

        margin: 0;
    }

    #evolutionCoreModal .modal-content {
        max-height: 100dvh;

        border-width: 0;
        border-radius: 0;
    }

    #evolutionCoreModal .modal-body {
        padding: 0.4rem;
    }
}

html,
body,
.wrap,
main,
.content-wrapper {
    background-color: #000000 !important;
}

/* ==========================================================================
   HOME — HERO FIJO
   ========================================================================== */

.oniric-home-index-view {
    position: relative;
    background: #080808;
}

.oniric-home-index-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.oniric-home-index-hero .oniric-page-frame,
.oniric-home-index-hero .oniric-hero-content-wrapper {
    position: relative;
    z-index: 2;
}


/* ==========================================================================
   CONTENIDO QUE CUBRE EL HERO
   ========================================================================== */

.oniric-home-index-view > main {
    position: relative;
    z-index: 3;
    background: transparent;
}


/* Primera sección */

.oniric-home-index-view .oniric-services-section {
    position: relative;
    background: #080808;
}


/* Transición HERO → contenido */

.oniric-home-index-view .oniric-services-section::before {
    content: "";

    position: absolute;
    z-index: 0;

    top: -80px;
    left: 0;
    right: 0;

    height: 80px;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(8, 8, 8, 0) 0%,
        rgba(8, 8, 8, 0.15) 25%,
        rgba(8, 8, 8, 0.55) 65%,
        #080808 100%
    );
}

.oniric-home-index-view .oniric-services-section > .oniric-page-frame {
    position: relative;
    z-index: 1;
}



/* ==========================================================================
   HOME — RECOVERY LAB PROCESS (Figma desktop + mobile)
   ========================================================================== */

.oniric-home-index-view .oniric-steps-grid-section {
    padding-block: clamp(7.5rem, 9vw, 10rem);
}

.oniric-home-index-view .oniric-steps-grid-heading {
    color: #ffffff;
    font-size: clamp(2.25rem, 2.1vw, 2.35rem);
    font-weight: 400;
    line-height: 2.625rem;
    /* letter-spacing: -0.04em; */
    text-wrap: balance;
    text-edge: cap;
}

.oniric-home-index-view .oniric-steps-grid-row {
    margin-top: clamp(4.5rem, 7.25vw, 6.25rem) !important;
    gap: 1.25rem;
}

.oniric-step-block {
    min-height: 14.875rem;
    padding: 2.375rem 2.5rem 2.5rem;
    gap: 2rem;
    border-color: rgba(255, 255, 255, 0.32);

    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0.125rem 0.70625rem rgba(255, 255, 255, 0.25);

    transition: background 400ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.oniric-home-index-view .oniric-step-block--figma:hover
.oniric-home-index-view .oniric-step-block--figma.active {
    min-height: 14.875rem;
    padding: 2.375rem 2.5rem 2.5rem;
    gap: 2rem;
    border-color: rgba(255, 255, 255, 0.32);
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.12), transparent 50%),
        linear-gradient(108deg, rgba(255, 255, 255, 0.19) 8.05%, rgba(255, 255, 255, 0.06) 91.8%);
    box-shadow:
        0 0.125rem 0.706rem rgba(255, 255, 255, 0.26),
        0 0.8rem 2rem rgba(0, 0, 0, 0.38);
    outline: 0;
}

.oniric-step-block--figma:hover,
.oniric-step-block--figma.active {
    transform: translateY(-0.3125rem);
    background: linear-gradient(107.98deg, rgba(255, 255, 255, 0.20) 8.05%, rgba(255, 255, 255, 0.08) 91.8%);
    box-shadow: 0 0.375rem 1.5625rem rgba(255, 255, 255, 0.25);
}

.oniric-home-index-view .oniric-step-block--figma .oniric-step-content {
    width: min(100%, 28rem);
}

.oniric-home-index-view .oniric-step-block--figma .oniric-step-title-text {
    margin-bottom: 0.625rem;
    font-size: clamp(1.125rem, 1.55vw, 1.5rem);
    font-weight: 400;
    line-height: 1.16;
}

.oniric-home-index-view .oniric-step-block--figma .oniric-step-desc-text {
    color: #ffffff;
    font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
    line-height: 1.3;
}

.oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn {
    position: relative;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
    opacity: 0;
    transition:
        opacity 220ms ease,
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 220ms ease,
        background-color 220ms ease;
}

.oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn::before,
.oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
}

.oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn::before {
    width: 0.56rem;
    height: 1px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.64);
}

.oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn::after {
    width: 0.34rem;
    height: 0.34rem;
    border-top: 1px solid rgba(255, 255, 255, 0.64);
    border-right: 1px solid rgba(255, 255, 255, 0.64);
    transform: translate(0.02rem, -50%) rotate(45deg);
}

.oniric-home-index-view .oniric-step-block--figma:hover .oniric-step-icon-btn,
.oniric-home-index-view .oniric-step-block--figma:focus-visible .oniric-step-icon-btn {

    transform: translateX(0.125rem);
}

@media (max-width: 767.98px) {
	
	.oniric-home-index-view .oniric-step-block--figma {
    min-height: 14.875rem;
    padding: 2.375rem 2.5rem 2.5rem;
    gap: 2rem;
    border-color: rgba(255, 255, 255, 0.32);
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.12), transparent 50%),
        linear-gradient(108deg, rgba(255, 255, 255, 0.19) 8.05%, rgba(255, 255, 255, 0.06) 91.8%);
    box-shadow:
        0 0.125rem 0.706rem rgba(255, 255, 255, 0.26),
        0 0.8rem 2rem rgba(0, 0, 0, 0.38);
    outline: 0;
}
	
    .oniric-home-index-view .oniric-steps-grid-section {
        padding-block: 1.875rem 3.5rem;
    }

    .oniric-home-index-view .oniric-steps-grid-heading {
        /* width: min(100%, 19rem); */
        font-size: 1.5rem;
        line-height: 1.625rem;
    }

    .oniric-home-index-view .oniric-steps-grid-row {
        margin-top: 5rem !important;
        gap: 2.5rem;
    }

    .oniric-home-index-view .oniric-step-block--figma {
        min-height: 8.625rem;
        padding: 1.88rem 2.5rem 2.5rem;
        gap: 1.88rem;
        border-radius: 1.25rem;
    }

    .oniric-home-index-view .oniric-step-block--figma .oniric-step-header {
        gap: 1rem;
        align-items: center;
    }

    .oniric-home-index-view .oniric-step-block--figma .oniric-step-badge {
        /* min-height: 1.25rem; */
        padding: 0.62rem 2rem;
        font-size: 0.625rem;
        letter-spacing: 0.15625rem;
    }

    .oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn {
        width: 2.0625rem;
        height: 2rem;
        opacity: 1;
        background-image: none;
    }

    .oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn::before {
        width: 0.42rem;
    }

    .oniric-home-index-view .oniric-step-block--figma .oniric-step-icon-btn::after {
        width: 0.28rem;
        height: 0.28rem;
    }

    .oniric-home-index-view .oniric-step-block--figma .oniric-step-title-text {
        margin-bottom: 0.62rem;
        font-size: 1rem;
        line-height: 1.25rem;
        /* letter-spacing: -0.025em; */
    }

    .oniric-home-index-view .oniric-step-block--figma .oniric-step-desc-text {
        font-size: 0.75rem;
        line-height: 1.125rem;
        /* letter-spacing: -0.015em; */
        font-weight: 400;
	}

    .oniric-home-index-view .oniric-step-block--figma:hover .oniric-step-icon-btn {
        transform: none;
    }
}
