/*------------------------ fonts -----------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Reenie+Beanie&display=swap');

/*------------------------ body -----------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f6f5f3;
}

/*------------------------ header -----------------------------*/

.header {
    position: relative;
    width: 100%;
    height: 1115px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* background-image: url("//educalms.com/REPOSITORIO/PHP/proxyfile.php?path=DEVELOP_FOLDER/imagenes/WEB-TOOLS/headerBg.jpg"); */
    /* background-image: url("img/index/headerBg.jpg"); */
    /* background-size: cover;
    background-repeat: no-repeat;
    background-position: center top; */
    padding: 35px 0px;
    /* clip-path: ellipse(80% 100% at 50% 0%); */
    z-index: 100;
}

/*

.headerNav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 25px;
    font-family: "Plus Jakarta Sans", sans-serif;
    padding: 0 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    z-index: 1000;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}*/

/* Estado normal con blur */
.headerBlur {
    position: absolute;
    inset: 0;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Cuando haces scroll: fondo blanco sólido */
/*.headerNav.scrolled .headerBlur,
.headerBlur.scrolled {
    background-color: #ffffff;
    backdrop-filter: none;
    opacity: 1;
}
*/

.headerSections {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    z-index: 1;
}

.headerSections p {
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #404040;
    font-weight: 600;
}

.headerSections p:hover {
    background-color: #e7daff;
    color: #000000;
}

.headerSections p.active {
    background-color: #e7daff;
    color: #000000;
}

.headerIcon {
    cursor: pointer;

    width: 200px;
    height: 120px;
    z-index: 1;
}

/* .headerSearch {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: #9b63fe;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    cursor: pointer;

}

.headerLens {
    width: 80%;
    height: 80%;
} */

.headerSearch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #9b63fe;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.headerSearch:hover,
.headerSearch:has(.headerInput:focus) {
    width: 300px;
    justify-content: flex-start;
    padding-left: 10px;
    border-radius: 25px;
}

/* Lupa */
.headerLens {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mueve la lupa a la izquierda al expandir */
.headerSearch:hover .headerLens,
.headerSearch:has(.headerInput:focus) .headerLens {
    transform: translateX(5px) scale(0.9);
}

/* Input invisible al inicio */
.headerInput {
    position: absolute;
    right: 10px;
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: "Plus Jakarta Sans", sans-serif;
    background: transparent;
    color: white;
    transition: width 0.4s ease, opacity 0.3s ease;
}

/* Cuando se expande */
.headerSearch:hover .headerInput,
.headerSearch:has(.headerInput:focus) .headerInput {
    width: 240px;
    opacity: 1;
}

/* Placeholder visible en blanco */
.headerInput::placeholder {
    color: rgba(255, 255, 255, 0.8);
}


.headerContent {
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    top: 15%;
    position: relative;
    width: 45%;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-align: center;
}

.headerContent h2 {
    letter-spacing: -2.8px;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    color: #111;
    font-family: "Reenie Beanie", cursive;
}

.headerContent p {
    color: #111;
    letter-spacing: -.4px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.6;
}


/* ==========================
   NAV SECUNDARIO (secciones)
   ========================== */
/* Contenedor principal */
.headerNav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    border-radius: 25px;
    z-index: 1000;
    transition: height 0.4s ease, background-color 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

/* --- Parte superior --- */
.headerNavTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    height: 50px;
    position: relative;
    font-family: "Plus Jakarta Sans", sans-serif;
    width: 100%;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

/* .headerNavBottom {
    height: 0;
    overflow: hidden;
    position: relative;
    margin: 0px 90px;
    transition: height 0.4s ease, border-top 0.4s ease;
    z-index: 2;
}

.headerNavBottom.visible {
  height: 60px;
  opacity: 1;
} */

.headerNavBottom {
    position: fixed;
    top: 35vh;
    left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


/* --- Contenedor vertical --- */
.secondaryNav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    overflow: visible;
}

/* --- Cada bloque con icono + texto --- */
.secondaryNav>div {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.25s ease;
    overflow: visible;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.secondaryNav>div:hover {
    transform: scale(1.2);
}

/* --- Capa de blur interior --- */
.iconBlur {
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: #0000000d;
    backdrop-filter: blur(10px);
    z-index: 0;
    /* transition: background 0.3s ease; */
}

.secondaryNav>div:hover .iconBlur {
    background: #0000000d;
}

/* --- Icono --- */
.imgSecondaryNav {
    position: relative;
    width: 60%;
    height: 60%;
    z-index: 1;
}

/* --- Texto oculto --- */
.descripcionSecondaryNav {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #0000000d;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 14px;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}


/* .secondaryNav > div:hover .imgSecondaryNav {
  filter: none;
  transform: scale(1.1);
} */

.secondaryNav>div:hover .descripcionSecondaryNav {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

/* --- Icono activo --- */
.secondaryNav .active {
    background-color: rgba(155, 99, 254, 0.8);
}

.secondaryNav .active .imgSecondaryNav {
    filter: none;
}

/* .secondaryNav .new{
    background-color: rgb(155 99 254);
    color: #ffffff;
} */

/* .secondaryNav .new:hover,
.secondaryNav .new.active {
    color: #9386d0;
    transform: scale(1.05);
} */


.secondaryNav .new {
    align-items: center;
    background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
    border: 0;
    /* box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px; */
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.secondaryNav .new:active,
.secondaryNav .new:hover {
    background-image: linear-gradient(194deg, #AF40FF, #5B42F3 50%, #00DDEB);
    transform: scale(1.05);

}

.headerPanels {
    position: fixed;
    border-radius: 15px;
    /* padding: 5px; */
    left: 0;
    width: 100%;
    padding: 5px;

    /* height: calc(100vh - 70px);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 500;
    /* menor que el headerNav (1000) */
    transition: opacity 0.4s ease, height 0.4s ease;
    height: 0px;
    opacity: 0;
    position: relative;
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow: hidden;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: #fff;

}

.headerPanels.mostrar {
    height: 400px;
    opacity: 1;
}

.headerPanelsSections {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.headerPanelsTabs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 20%;
    background-color: #fff;
    border-radius: 25px 0px 0px 25px;
}

.headerPanelsTabs p {
    padding: 10px 15px;
    cursor: pointer;
    line-height: 1.1;
    font-weight: 600;
    width: 100%;
    border-radius: 15px 0px 0px 15px;
    opacity: 0.5;
}

.headerPanelsTabs p.active {
    background-color: #e7daff;
    position: relative;
    z-index: 1;
    opacity: 1;
    margin-left: 1px;
}

.headerPanelsTabs p:first-child::before {
    top: 0 !important;
    right: -1rem !important;
    mask: none !important;
}

/* Esquina izquierda */
.headerPanelsTabs p.active::before {
    content: "";
    position: absolute;
    right: 0;
    width: 1rem;
    aspect-ratio: 1 / 1;
    background-color: #e7daff;
    top: -1rem;
    mask: radial-gradient(circle at top left, transparent 72%, black 72%);
}

/* Esquina derecha */
.headerPanelsTabs p.active::after {
    bottom: -1rem;
    mask: radial-gradient(circle at bottom left, transparent 72%, black 72%);
    content: "";
    position: absolute;
    right: 0;
    width: 1rem;
    aspect-ratio: 1 / 1;
    background-color: #e7daff;
}

.headerPanelsTabsContainer {
    width: 80%;
    height: 100%;
    align-items: center;
    flex-direction: row;
    display: none;
    gap: 10px;
}

.headerPanelsTabsContainer.active {
    display: flex;
}

.headerPanelsTabsContent {
    width: 70%;
    height: 100%;
    background-color: #e7daff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border-radius: 15px;
    flex-wrap: wrap;
}

#headerPanelsTabsContainer-Jqueries .headerPanelsTabsContent,
#headerPanelsTabsContainer-Complementos .headerPanelsTabsContent,
#headerPanelsTabsContainer-ConvertidoresEva .headerPanelsTabsContent,
#headerPanelsTabsContainer-ConvertidoresTextoPlano .headerPanelsTabsContent {
    width: 100%;
}

#headerPanelsTabsContainer-ConvertidoresEva .headerPanelsTabsContent,
#headerPanelsTabsContainer-ConvertidoresTextoPlano .headerPanelsTabsContent {
    gap: 10px;
}

#headerPanelsTabsContainer-Jqueries .headerPanelsTabsContentElement {
    width: 30%;
}

.headerPanelsTabsContentElement {
    width: 40%;
    height: 20%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    cursor: pointer;
    gap: 10px;
}

.headerPanelsTabsContentElementGiant {
    width: 80%;
    height: 20%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    cursor: pointer;
    gap: 10px;
    border-bottom: 1px dashed color-mix(in srgb, #001f1f 8%, transparent);
}

.headerPanelsTabsContentElementGiant .divImg,
.headerPanelsTabsContentElement .divImg {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, #001f1f 8%, transparent);
    background-color: color-mix(in srgb, #001f1f 4%, transparent);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 12px 12px 0 rgb(255 255 255 / 24%), inset 0 1px 0 0 rgb(255 255 255 / 32%), 0 2px 0 0 color-mix(in srgb, #001f1f 8%, transparent);
    transition: all .3s cubic-bezier(.165, .84, .44, 1);
}

.headerPanelsTabsContentElementGiant .divImg img,
.headerPanelsTabsContentElement img {
    width: 50%;
    height: 50%;
}

.headerPanelsTabsContentElementGiant .IconContent,
.headerPanelsTabsContentElement .IconContent {
    width: 80%;
    font-family: "Plus Jakarta Sans", sans-serif;

}

.headerPanelsTabsContentElementGiant .IconContent h2,
.headerPanelsTabsContentElement .IconContent h2 {
    font-weight: 600;
}

.headerPanelsTabsContentElementGiant .IconContent p,
.headerPanelsTabsContentElement .IconContent p {
    font-weight: 500;
}

.headerPanelsTabsContentElementGiant :hover .divImg,
.headerPanelsTabsContentElement:hover .divImg {
    box-shadow: none;
}


.headerPanelsTabsFeatured {
    width: 30%;
    height: 100%;
    background-color: #e7daff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
}

.headerPanelsTabsFeatured h4 {
    align-self: flex-start;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 1px;
    color: color-mix(in srgb, currentcolor 60%, transparent);
    font-size: 12px;
}

#headerPanelsTabsContainer-ConvertidoresEva .headerPanelsTabsFeaturedDiv,
#headerPanelsTabsContainer-ConvertidoresTextoPlano .headerPanelsTabsFeaturedDiv {
    width: 23%;
}

.headerPanelsTabsFeaturedDiv {
    width: 100%;
    height: 85%;
    background-color: #fff;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
    gap: 10px;
    box-shadow: transparent 0px 64px 64px -32px, transparent 0px 32px 32px -16px, transparent 0px 16px 16px -8px, color-mix(in srgb, #001f1f 4%, transparent) 0px 12px 12px -6px, color-mix(in srgb, #001f1f 4%, transparent) 0px 6px 6px -3px, color-mix(in srgb, #001f1f 4%, transparent) 0px 3px 3px -1.5px, color-mix(in srgb, #001f1f 8%, transparent) 0px 1px 1px -0.5px, color-mix(in srgb, #001f1f 4%, transparent) 0px 0px 0px 1px;
    transition: all .3s cubic-bezier(.165, .84, .44, 1);
    cursor: pointer;
}

.headerPanelsTabsFeaturedDiv:hover {
    box-shadow: color-mix(in srgb, #001f1f 4%, transparent) 0px 64px 64px -32px, color-mix(in srgb, #001f1f 4%, transparent) 0px 32px 32px -16px, color-mix(in srgb, #001f1f 4%, transparent) 0px 16px 16px -8px, color-mix(in srgb, #001f1f 4%, transparent) 0px 12px 12px -6px, color-mix(in srgb, #001f1f 4%, transparent) 0px 6px 6px -3px, color-mix(in srgb, #001f1f 4%, transparent) 0px 3px 3px -1.5px, color-mix(in srgb, #001f1f 8%, transparent) 0px 1px 1px -0.5px, color-mix(in srgb, #001f1f 4%, transparent) 0px 0px 0px 1px;
}

.featuredDivImg {
    width: 100%;
    height: 70%;
    background-color: #b494fe;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.featuredDivImg img {
    width: 30%;
}

.featuredContent {
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

/*------------------------ separador header -----------------------------*/

/* .separadorHeader {
    position: relative;
    margin-top: -650px;
    width: 100%;
    height: 700px;
    background-color: #b2def063;
    clip-path: ellipse(80% 100% at 50% 0%);
    z-index: 0;
} */

.am-shader-container {
    z-index: -1;
    aspect-ratio: 1282 / 868;
    flex-flow: column;
    width: 92%;
    margin-top: 10rem;
    display: flex;
    position: absolute;
    inset: 0%;
}

.am-shader-container img {
    position: absolute;
    inset: 8.75rem 0 auto auto;
    z-index: 1;
}

.shader-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background-color: black;
    /* #F98B8C; */
    -webkit-mask-image: url(#rocket-mask);
    mask-image: url(#rocket-mask);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: 0;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Ensure the SVG does not interfere with mouse events */
}

.has-fade-gradient {
    fill: url(#fade-gradient);
}


/*------------------------ recuerdas section -----------------------------*/

.recuerdasSection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    font-family: "Plus Jakarta Sans", sans-serif;
    margin-top: 100px;
    gap: 60px;

    /* background-image: url(//educalms.com/REPOSITORIO/PHP/proxyfile.php?path=DEVELOP_FOLDER/imagenes/Plantilla-actividades/Backg.png);
    background-position: top;
    background-repeat: no-repeat;
    padding: 90px 0px; */
}

.recuerdasSection h2 {
    font-size: 60px;
    font-weight: 900;
}

.recuerdasContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-auto-rows: 150px;
    /* altura base de las filas */
    gap: 20px;
    width: 70%;
    height: 500px;
    padding: 20px 0px;

}

/* piezas generales */
.pieza {
    height: 0;
    opacity: 0;
    transform: scaleY(0.8);
    transform-origin: top;
    transition: height 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out;
    overflow: hidden;
    border-radius: 25px;
}

/* Estado visible */
.pieza.visible {
    height: 100%;
    opacity: 1;
    transform: scaleY(1);
}

/* Hover opcional */
.pieza:hover {
    transform: scale(1.05);
    /* box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.1); */
}

.pieza1 {
    grid-area: 1 / 1 / 3 / 2;
    background-color: #9be4ff;
    transition-delay: 0.1s;
}

.pieza2 {
    grid-area: 3 / 1 / 7 / 2;
    background-color: #c5a9ff;
    transition-delay: 0.6s;
}

.pieza3 {
    grid-area: 1 / 2 / 5 / 3;
    background-color: #ffa3d9;
    transition-delay: 0.1s;
}

.pieza4 {
    grid-area: 5 / 2 / 7 / 3;
    background-color: #a8ffde;
    transition-delay: 0.6s;
}

.pieza5 {
    grid-area: 1 / 3 / 4 / 4;
    background-color: #ffa8d8;
    transition-delay: 0.1s;
}

.pieza6 {
    grid-area: 4 / 3 / 7 / 5;
    background-color: #aca8ff;
    transition-delay: 0.6s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pieza6 p {
    font-size: 22px;
    font-weight: 500;
}

.pieza7 {
    grid-area: 1 / 4 / 4 / 5;
    background-color: #ffa8b4;
    transition-delay: 0.1s;
}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/*------------------------ convertidores section -----------------------------*/

.convertidoresSection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    font-family: "Plus Jakarta Sans", sans-serif;
    margin-top: 100px;
    /* gap: 60px; */
    /* background-color: black; */
}

.convertidoresSection h2 {
    font-size: 60px;
    font-weight: 900;
    /* color: #fff; */
    padding: 30px 0px;
}

:root {
    --gap: 1.25rem;
    --speed: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --closed: 5rem;
    --open: 30rem;
    --accent: #ff6b35;
}

.head {
    max-width: 1400px;
    margin: auto;
    padding: 70px 20px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 2rem;
}

/* .head h2 {
  font: 400 1.5rem/1.2 Inter, sans-serif;
  color: #fff;
}
@media (min-width: 1024px) {
  .head h2 {
    font-size: 2.25rem;
  }
} */
.nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: #404040;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--accent);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.slider {
    max-width: 1400px;
    margin: auto;
    /* overflow: hidden; */
    /* padding: 10px; */
}

.controls {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.track {
    display: flex;
    gap: var(--gap);
    align-items: flex-start;
    justify-content: center;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
}

.track::-webkit-scrollbar {
    display: none;
}

.project-card {
    background-color: #ff824f;
    position: relative;
    flex: 0 0 var(--closed);
    height: 26rem;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: flex-basis var(--speed), transform var(--speed);
}

.project-card[active] {
    flex-basis: var(--open);
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(75%);
    transition: filter 0.3s, transform var(--speed);
}

.project-card:hover .project-card__bg {
    filter: brightness(0.9) saturate(100%);
    transform: scale(1.06);
}

.project-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    padding: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.project-card__title {
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.project-card__thumb,
.project-card__desc,
.project-card__btn {
    display: none;
}

.project-card[active] .project-card__content {
    flex-direction: row;
    align-items: center;
    padding: 1.2rem 2rem;
    gap: 1.1rem;
}

.project-card[active] .project-card__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.4rem;
}

.project-card[active] .project-card__thumb,
.project-card[active] .project-card__desc,
.project-card[active] .project-card__btn {
    display: block;
}

.project-card__thumb {
    width: 133px;
    height: 269px;
    border-radius: 0.45rem;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.project-card__desc {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 16rem;
}

.project-card__btn {
    padding: 0.55rem 1.3rem;
    border: none;
    border-radius: 9999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.project-card__btn:hover {
    background: #ff824f;
}

.dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 20px 0;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #404040;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/*------------------------ macro section -----------------------------*/

.macroSection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: "Plus Jakarta Sans", sans-serif;
    padding: 50px 0px;
}

.macroSection h2 {
    font-size: 60px;
    font-weight: 900;
    padding: 30px 0px;
}

.macroContainer {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    gap: 20px;
}

.macroIndex {
    width: 35%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.macroIndexDiv {
    border-left: 2px solid #404040;
    padding: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 40px;
}

.macroIndexDiv.active {
    border-color: #7612fa;
    /* background-color: rgba(118, 18, 250, 0.05); */
    cursor: auto;
    max-height: 200px;
    /* el párrafo se muestra */
}

.macroIndexDiv.active h5 {
    color: #7612fa;
}

.macroIndexDiv h5 {
    font-size: 18px;
    font-weight: 700;
}

.macroIndexDiv p {
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.macroIndexDiv.active p {
    opacity: 1;
}

.macroVid {
    width: 50%;
    height: 500px;
    /* background-color: #8b8beb; */
    border-radius: 25px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#reproductor {
    width: 100%;
    height: 90%;
    border-radius: 20px;
    background: #000;
}



/*section slider*/

.sliderSection {
    height: 750px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    font-family: "Plus Jakarta Sans", sans-serif;
    gap: 125px;
    margin: 70px 0px;
}

.sliderSection h2 {
    font-size: 60px;
    font-weight: 900;
    padding: 30px 0px;
}

.slider-div {
    position: relative;
    width: 1000px;
    height: 500px;
}

.slide {
    position: absolute;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #fff;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease, width 0.3s ease, opacity 0.3s ease;
    top: var(--top);
}

.slide.active {
    opacity: 1;
}

.slide .mini-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fbfaf9;
    color: #40404099;
    padding: 10px;
    font-weight: bold;
    z-index: 10;
    text-align: center;
    transition: opacity 0.3s ease;
}

.slide.active .mini-header {
    color: #404040;
    opacity: 1;
}

.slide:not(.active) .mini-header {
    opacity: 0.8;
}

.slide:not(.active):hover .mini-header {
    opacity: 1;
}

.slide-content {
    padding: 60px 20px 20px;
    text-align: center;
}

/* Hover solo para slides que no son activas */
.slide:not(.active):hover {
    top: calc(var(--top) - 5px);
}


/**/



.am-pillars-bg-gradient {
    pointer-events: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 2.5rem;
    position: absolute;
    inset: 0%;
    overflow: hidden;
}

.am-pillars-bg-gradient-code .pillars-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background-color: black;
    -webkit-mask-image: url(#pillars-mask);
    mask-image: url(#pillars-mask);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.pillars-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}