/*Hoja de estilos Anncopix*/

/*Generales*/

@font-face {
    font-family: "urbanist";
    src: url(../fuentes/urbanist-medium.ttf);
}

@font-face {
    font-family: "shooked";
    src: url(../fuentes/shooked.ttf);
}

p {
    font-family: "urbanist";
}

h1 {
    font-family: "urbanist";
}

h2 {
    font-family: "shooked";
    cursor: default;
    user-select: none;
    font-size: 60px;
    letter-spacing: 3px;
}

h3 {
    font-family: "urbanist";
    cursor: default;
    user-select: none;
}

h4 {
    font-family: "urbanist";
    cursor: default;
    user-select: none;
}


/* ===================================================== NAV ================================================ */
nav {
    background-color: black;
    text-align: right;
    padding: 10px 100px;
    border-bottom: 1px;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

nav a:not(.navbar-brand) {
    color: #ACB0F2;
    text-decoration: none;
    padding: 15px 12px;
    display: inline-block;
    font-size: 15px;
    text-transform: uppercase;
    transition: all .5s ease;
}

nav a:not(.navbar-brand):hover {
    border: #9CEE69 solid 2px;
    border-radius: 50px;
    padding: 8px 25px;
    color: #9CEE69;
    box-shadow: 0 0 10px rgba(156, 238, 105, 0.6);
}

nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            #9CEE69,
            transparent);
    box-shadow: 0 0 10px rgba(156, 238, 105, 0.6);

}


.navbar-brand {
    float: left;
    padding: 0;
}

.logo-nav {
    max-height: 48px;
    width: auto;
    display: block;
}

.menu-mobile {
    display: none;
    cursor: pointer;
}


.menu-mobile span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #9CEE69;
    margin: 5px 0;
}


/* ===================================================== INICIO ================================================ */

/* ——————————————————————————————————— Section background ——————————————————————————————————————— */

.hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
}

/* IMAGEN */
.hero-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.55) 50%,
            rgba(0, 0, 0, 0.00) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 260px;
}

.hero-title {
    margin: 0;
    color: #d5d4d8;
    text-align: left;
    max-width: 480px;
}

.hero-title span {
    display: block;
    line-height: 1.1;
    text-transform: none
}

/* BIENVENIDO */
.hero-title span:nth-child(1) {
    font-size: 90px;
    font-weight: 300;
    color: #9CEE69 !important;
}

/* al mundo creativo */
.hero-title span:nth-child(2) {
    font-size: 50px;
    margin-top: 12px;
    margin-left: 8px;
}

/* de Andrea Acosta */
.hero-title span:nth-child(3) {
    font-size: 55px;
    font-weight: 300;
    margin-top: 12px;
    margin-left: 8px;
    color: #9CEE69 !important;
}

.hero-img {
    position: relative;
    z-index: 1;
}

.hero-overlay {
    z-index: 2;
}



/* ——————————————————————————————————— Quien es Annco ——————————————————————————————————————— */

.quien-es {
    background: linear-gradient(180deg, rgba(56, 28, 128, 1) 28%, rgba(25, 25, 25, 1) 76%);
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;

    text-align: center;
    padding: 101px 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.quien-es p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 20px;
    line-height: 1.6;
}

.quien-es h1 {
    font-size: 16px;
    color: #351488;
    border: 2px solid transparent;
    padding: 10px 25px;
    border-radius: 35px;
    display: inline-block;
    cursor: pointer;
    background-color: #ACB0F2;
}

.quien-es-img {
    padding-bottom: 60px;
    text-align: center;
    width: 100%;
    max-width: 500px
}

h1:hover {
    background-color: #9CEE69;
    border-color: #351488;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px rgba(156, 238, 105, 0.6);
}

.icono-izq {
    left: 0;
    transform: translate(-30%, -50%);
    position: absolute;
    width: 245px;
    opacity: 70%;
}

.icono-der {
    right: 0;
    top: 0;
    position: absolute;
    width: 250px;
    opacity: 65%;
    transform: translate(28%, -6%);
    z-index: 1;
}

/* ——————————————————————————————————— Resumen de proyectos ——————————————————————————————————————— */
.resumen-proyectos {
    background: linear-gradient(0deg, rgba(53, 20, 136, 1) 21%, rgba(25, 25, 25, 1) 85%);
    padding: 140px 60px;
}

.resumen-proyectos img {
    border-radius: 25px;

}

.resumen-proyectos p {
    color: #d5d4d8;
    text-align: center;
    font-family: "urbanist";
    font-size: 20px;
    padding: 20px;
    max-width: 900px;
    /* controla qué tan largo se ve */
    margin: 0 auto;
}

.resumen-proyectos h2 {
    color: #9CEE69;
    text-align: center;
    font-family: "shooked";
}

/* ——————————————————————————————————— FLECHA INICIO ——————————————————————————————————————— */

/* ======================================
   OWL CAROUSEL – BOTONES PERSONALIZADOS
   FIX DE TAMAÑO Y POSICIÓN
====================================== */

.owl-wrapper-custom {
    position: relative;
}

/* Aseguramos que el carrusel sea la referencia */
.owl-wrapper-custom .owl-carousel {
    position: relative;
}

/* BOTONES */
.owl-wrapper-custom .owl-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 54px;
    height: 54px;
    border-radius: 50%;

    background-color: #ACB0F2;
    /* lila */
    border: none;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 30;

    transition: background-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

/* Posiciones */
.owl-wrapper-custom .owl-btn-prev {
    left: -20px;
}

.owl-wrapper-custom .owl-btn-next {
    right: -20px;
}

/* 👇 AQUÍ corregimos el estiramiento de la flecha */
.owl-wrapper-custom .owl-btn>img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    display: block;
}

/* Flecha izquierda (horizontal) */
.owl-wrapper-custom .owl-btn-prev>img {
    transform: rotate(-90deg);
}

/* Flecha derecha (horizontal) */
.owl-wrapper-custom .owl-btn-next>img {
    transform: rotate(90deg);
}


/* Hover estilo Annco */
.owl-wrapper-custom .owl-btn:hover {
    background-color: #9CEE69;
    /* verde */
    box-shadow: 0 0 18px rgba(156, 238, 105, 0.8);
    transform: translateY(-50%) translateY(-3px);
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 768px) {
    .owl-wrapper-custom .owl-btn {
        width: 48px;
        height: 48px;
    }

    .owl-wrapper-custom .owl-btn>img {
        width: 20px;
        height: 20px;
    }

    .owl-wrapper-custom .owl-btn-prev {
        left: 6px;
    }

    .owl-wrapper-custom .owl-btn-next {
        right: 6px;
    }
}

@media (max-width: 576px) {
    .owl-wrapper-custom .owl-btn {
        width: 44px;
        height: 44px;
    }

    .owl-wrapper-custom .owl-btn>img {
        width: 18px;
        height: 18px;
    }
}


/* ——————————————————————————————————— Galería inicio ——————————————————————————————————————— */

.galeria-section {
    padding: 80px 0;
    background: radial-gradient(circle at top, #1a1040 0%, #050015 60%, #12002c 100%);
}

.galeria-titulo {
    font-family: "shooked";
    letter-spacing: 3px;
    font-size: 60px;
    color: #9CEE69;
    letter-spacing: 3px;
    text-align: center;
}

.texto-galeria {
    color: #d5d4d8;
    text-align: center;
    font-size: 20px;
    padding: 10px;
}

.galeria-item {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.galeria-card.doble {
    position: relative;
    width: 100%;
    max-width: 260px;
    height: 260px;
    overflow: hidden;
    border-radius: 24px;
}

.galeria-card .galeria-front,
.galeria-card .galeria-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.75s ease-in-out;
}

/* imagen frontal */
.galeria-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* imagen trasera */
.galeria-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galeria-texto {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    z-index: 2;
}

.galeria-back::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.ajuste-hover {
    object-position: center top;
}

/* Animación suave al pasar el cursor */
.galeria-card.doble {
    transition: transform 0.4s ease;
}

.galeria-card.doble:hover {
    transform: translateY(-14px) rotate3d(1, 1, 0, 6deg);
}

/* ------------------------------ ANIMACIONES: hover sobre la card ------------------------ */

/* estado normal: front visible, back abajo */
.galeria-card.doble .galeria-front {
    transform: translateY(0);
}

.galeria-card.doble .galeria-back {
    transform: translateY(100%);
}

/* al pasar el cursor */
.galeria-card.doble:hover .galeria-front {
    transform: translateY(-100%);
}

.galeria-card.doble:hover .galeria-back {
    transform: translateY(0);
}

/* ===================================================== SECCIÓN PORTAFOLIO ================================================ */

/* ——————————————————————————————————— Lema / historia ——————————————————————————————————————— */
.historia {
    background: linear-gradient(180deg, rgba(53, 20, 136, 1) 21%, rgba(25, 25, 25, 1) 85%);
    padding: 250px 0;

}

.historia h2 {
    color: #ffffff;
    text-align: center;
    font-family: "shooked";
    font-size: 55px;
}

@media (max-width: 820px) {
    .historia {
        padding: 0 16px;
        min-height: 70vh;
        /* ocupa pantalla sin exagerar */
        display: flex;
        align-items: center;
        /* centra vertical */
        justify-content: center;
        /* centra horizontal */
        text-align: center;
    }

    .historia h2 {
        font-size: 30px;
        /* bájale aquí (antes 55px) */
        line-height: 1.15;
        /* junta un poco las líneas */
        max-width: 700px;
        /* para que quede más “centrado” visualmente */
        margin: 0 auto;
    }
}

/* —————————————————————————————— CARDS FLYERS ——————————————————————————————————— */

.banners-section {
    position: relative;
    background: #191919;
    /* Fondo negro liso */
    padding: 90px 0 110px;
    overflow: hidden;
}

.banners-section::before {
    content: none;
}

/* Estilo del contenedor */
.banners-wrap {
    position: relative;
    z-index: 1;
    max-width: 1220px;
    /* Controla el ancho máximo */
    margin: 0 auto;
}

/* Título */
.banners-title {
    text-align: center;
    margin: 0 0 55px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9CEE69;
    font-family: "shooked";
    font-size: 60px;
    letter-spacing: 3px;
}

/* Tarjetas más pequeñas */
.banner-card {
    width: 350px;
    height: 500px;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(17, 17, 17, 0.65);
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.10);
    filter: saturate(1.03) contrast(1.03);
}

.sl-overlay {
    background: rgba(0, 0, 0, 0.9) !important;
}

/* Icono de cerrar (X)*/
.sl-close {
    color: #ffffff !important;
}

/* Flechas de navegación */
.sl-next,
.sl-prev {
    color: #ffffff !important;
}

.nav-hidden-lightbox {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease;
}

.goverlay {
    background: rgba(0, 0, 0, 0.75) !important;
}





/* ————————————————————————— CARRUSEL CON CLICK ————————————————————————— */

/* Contenedor */
.apx-click-carousel-wrap {
    width: min(1200px, 92vw);
    margin: 0 auto;
    padding: 80px 0;
}

.apx-carousel-section {
    width: 100%;
    background: #191919
}

.apx-carousel-title {
    color: #9CEE69;
    letter-spacing: .06em;
    margin: 0 0 18px 0;
    text-align: center;
}

.apx-click-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    aspect-ratio: 1920 / 719;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.apx-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 1;
    transition: opacity .4s ease;
}

.apx-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apx-faux {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 9;
}

.apx-faux:checked {
    z-index: 8;
}

.apx-faux:checked+.apx-slide {
    opacity: 0;
}


.apx-faux:nth-of-type(1):checked {
    z-index: 9;
}


.apx-faux:nth-of-type(1):checked+.apx-slide {
    opacity: 1;
}

.apx-faux:nth-of-type(1):checked~.apx-faux {
    z-index: 8;
}

.apx-faux:nth-of-type(1):checked~.apx-faux+.apx-slide {
    opacity: 0;
}

.apx-faux:nth-of-type(1):checked~.apx-faux:checked {
    z-index: 9;
}

.apx-faux:nth-of-type(1):checked~.apx-faux:checked+.apx-slide {
    opacity: 1;
}

/* ——————————————————————————————————— REDES SOCIALES - GALERÍA 3D ——————————————————————————————————————— */

.redes3d {
    width: 100%;
    padding: 60px 0;
    background: #191919;
}

.redes3d__title {
    text-align: center;
    margin-bottom: 28px;
    color: #9CEE69;
    font-size: 60px;
    letter-spacing: 3px
}

.redes3d__wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.redes3d__stage {
    width: 900px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: visible;
}

.redes3d__gallery {
    --size: 260px;
    --radius: 420px;
    width: var(--size);
    height: var(--size);

    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1100px) rotateY(0deg);
    transition: transform .7s;
}


/* Cada item */
.redes3d__gallery span {
    position: absolute;
    inset: 0;
    transform: rotateY(calc(var(--i) * 40deg)) translateZ(var(--radius));
}

/* Tarjeta */
.redes3d__gallery span a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 18px;
    background: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

/* Imagen */
.redes3d__gallery span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    filter: grayscale(70%);
    transition: transform .25s, filter .25s;
}

.redes3d__gallery span img:hover {
    filter: none;
    transform: scale(1.02);
}

/* Controles */
.redes3d__controls {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.redes3d__btn {
    border: 2px solid transparent;
    padding: 10px 25px;
    cursor: pointer;
    outline: none;
    border-radius: 25px;
    transition: box-shadow .25s ease, transform .20s ease;
    background-color: #ACB0F2;
    color: #351488;
}

.redes3d__btn--main {
    padding: 10px 32px;
    font-family: "urbanist";
}

.redes3d__btn:hover {
    background-color: #9CEE69;
    border-color: #351488;

    /* BLUR */
    box-shadow: 0 0 10px rgba(156, 238, 105, 0.6);
    transform: translateY(-1px);
}



/* ——————————————————————————————————— MOCKUP REVISTA Y PACKING ——————————————————————————————————————— */

.mockup {
    width: 100%;
    padding: 60px 0;
    background: #191919;
}

.mockup__title {
    text-align: center;
    margin-bottom: 30px;
    color: #9CEE69;
}

.mockup__grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 1.6fr;
    padding: 0 20px;
}

.mockup__card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    height: 390px;

}

/* Imagen */
.mockup__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .35s ease;
}

.mockup__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(189deg, rgba(130, 126, 230, 0.56) 0%, rgba(42, 18, 110, 0.83) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    display: flex;
    align-items: center;
    /* vertical */
    justify-content: center;
    /* horizontal */
}

.mockup__text {
    color: #d5d4d8;
    font-size: 28px;
    letter-spacing: 1px;
    margin: 0;
    font-family: "shooked";
    letter-spacing: 3px
}

.mockup__card:hover img {
    transform: scale(1.06);
}

.mockup__card:hover .mockup__overlay {
    opacity: 1;
}

/* ————————————————————————— MODELADO 3D ————————————————————————— */

.modelado3d {
    width: 100%;
    padding: 70px 18px 90px;
    background: #191919;
    text-align: center;
}

.modelado3d__title {
    margin-bottom: 10px;
    font-size: 56px;
    color: #9CEE69;
    letter-spacing: 2px;

}

/* Link contenedor */
.modelado3d__link {
    position: relative;
    display: block;
    max-width: 1150px;
    margin: 0 auto 26px;
    text-decoration: none;
}

/* Imagen */
.modelado3d__img {
    width: 100%;
    display: block;
    border-radius: 18px;
}

/* Overlay degradado */
.modelado3d__overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(360deg, rgba(53, 20, 136, 0.65) 7%, rgba(25, 25, 25, 0.66) 64%);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 18px;
}

/* Texto VER MÁS */
.modelado3d__overlay span {
    font-size: 42px;
    letter-spacing: 2px;
    color: #d5d4d8;
    font-family: "shooked";
    letter-spacing: 3px;
}

/* Hover */
.modelado3d__link:hover .modelado3d__overlay {
    opacity: 1;
}

/* Texto abajo */
.modelado3d__text {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 35px;

}

/* ===================================================== SECCIÓN SOBRE MÍ ================================================ */

.sobre-mi {
    background: linear-gradient(360deg,
            rgba(53, 20, 136, 1) 39%,
            rgba(29, 24, 39, 1) 95%);
    padding: 80px 20px;
    color: #ffffff;
}

.sobre-mi-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* FOTO */
.sobre-mi-foto {
    flex: 1;
    max-width: 420px;
}

.sobre-mi-foto img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.sobre-mi-texto {
    flex: 1;
}

.sobre-mi-texto h2 {
    font-size: 60px;
    margin-bottom: 20px;
}

.sobre-mi-texto h2 span {
    color: #9CEE69
}

.sobre-mi-texto p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #eaeaea;
}


/* ——————————————————————————————————————————— Dominio de programas —————————————————————————————————————————————— */

/* ===============================
   SECCIÓN SOFTWARE (CONTENEDOR)
=============================== */
.dominio-section {
    background: linear-gradient(180deg,
            rgba(56, 28, 128, 1) 28%,
            rgba(25, 25, 25, 1) 76%);
    padding: 80px 0;
}

/* Ajuste del título dentro de la sección */
.software-title {
    text-align: center;
    color: #9CEE69;
    font-family: "shooked";
    font-size: 60px;
    letter-spacing: 3px;
    margin-bottom: -15px;
}

.dominio-grid {
    width: 100%;
    background: linear-gradient(180deg, rgba(56, 28, 128, 1) 28%, rgba(25, 25, 25, 1) 76%);
    padding: 80px 0;
}

.dominio-wrap {
    width: min(1200px, 92vw);
    margin: 0 auto;
    text-align: center;
}

.dominio-titulo {
    margin: 0 0 50px 0;
    color: #9CEE69;
    letter-spacing: .08em;
    font-size: 44px;
}

/* Elementos centrados */
.dominio-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    column-gap: 80px;
    /* separación horizontal (misma fila) */
    row-gap: 25px;
}

.dominio-item {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

.titulo-programas {
    margin-top: 10px;
    font-size: 20px;
    color: #d5d4d8;
    text-align: center;
}

.break-5 {
    flex-basis: 100%;
    height: 0;
}

/* contenedor de cada programa */
.dominio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* texto debajo del icono */
.dominio-texto {
    margin-top: 12px;
    font-size: 14px;
    color: #d5d4d8;
    font-weight: 500;
}

/* ——————————————————————————————————————————— Trayectoria —————————————————————————————————————————————— */
.trayectoria {
    padding: 90px 16px;
    background-color: #191919;
    overflow: hidden;
}

.trayectoria__title {
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 60px;
    color: #9CEE69;
    font-size: 60px;
    letter-spacing: 3px;
    font-family: "shooked";
}

/* Contenedor timeline */
.trayectoria__timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0;
}

/* Línea central */
.trayectoria__timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    background: rgba(230, 230, 255, 0.7);
    border-radius: 99px;
    transition: transform 1.2s ease-out;
}

.trayectoria__timeline.line-active::before {
    transform: translateX(-50%) scaleY(1);
}


/* Cada item */
.trayectoria__item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    /* izquierda | centro | derecha */
    align-items: center;
    margin: 34px 0;
    min-height: 120px;
}

/* Punto verde */
.trayectoria__dot {
    grid-column: 2 / 3;
    justify-self: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #9BFF3B;
    box-shadow: 0 0 0 8px rgba(155, 255, 59, 0.18);
}

/* Tarjeta */
.trayectoria__card {
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(130, 126, 230, 0.69) 0%, rgba(42, 18, 110, 0.83) 100%);
    backdrop-filter: blur(4px);
}

/* Tipos */
.trayectoria__heading {
    margin: 0 0 8px 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(230, 230, 255, 0.92);
}

.trayectoria__text {
    margin: 0 0 6px 0;
    color: rgba(240, 240, 255, 0.86);
    line-height: 1.35;
}

.trayectoria__date {
    margin: 0;
    color: rgba(240, 240, 255, 0.75);
    font-size: 0.95rem;
}

/* Posicionamiento izquierda/derecha */
.trayectoria__item--left .trayectoria__card {
    grid-column: 1 / 2;
    justify-self: end;
    text-align: right;
}

.trayectoria__item--right .trayectoria__card {
    grid-column: 3 / 4;
    justify-self: start;
    text-align: left;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.trayectoria__item--left.reveal {
    transform: translateX(-60px);
}

.trayectoria__item--right.reveal {
    transform: translateX(60px);
}

.reveal.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}


/* ——————————————————————————————————— DESCARGA CV ——————————————————————————————————————— */
.cv-section {
    background-color: #191919;
    padding: 80px 20px;
    text-align: center;
}

.cv-title {
    font-size: 50px;
    color: #9CEE69;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.cv-section p {
    color: white;
    font-weight: 400;
    margin-top: 10px;
    font-size: 20px;

}

.btn-cv {
    font-size: 16px;
    color: #351488;
    border: 2px solid transparent;
    padding: 10px 45px;
    border-radius: 35px;
    display: inline-block;
    cursor: pointer;
    background-color: #ACB0F2;
    text-decoration: none;
    transition: all 0.5s ease;
}

.btn-cv:hover {
    background-color: #9CEE69;
    border-color: #351488;
    box-shadow: 0 0 10px rgba(156, 238, 105, 0.6);
}

/* ===================================================== SECCIÓN GALERIA ================================================ */

/* ——————————————————————————————————— CONTENEDOR DE GALERÍA ——————————————————————————————————————— */
.apx-galeria {
    background: #191919;
    /* 19,19,19 */
    padding: 70px 20px;
}

.apx-galeria__header {
    max-width: 1100px;
    margin: 0 auto 26px auto;
    text-align: center;
    /* centrado */
}

.apx-galeria__header h2 {
    color: #9CEE69;
    margin: 0 0 10px 0;

}

.apx-galeria__header p {
    color: rgba(255, 255, 255, 0.80);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

.apx-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.apx-card {
    height: 280px;
    border-radius: 23px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
    transform: translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apx-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}


.apx-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

.apx-card:hover img {
    transform: scale(1.03);
}

.apx-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(53, 20, 136, 0.50),
            rgba(0, 0, 0, 0.50));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.apx-card:hover .apx-overlay,
.apx-card:active .apx-overlay {
    opacity: 1;
}

.apx-overlay p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    /* centrado */
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.span-7 {
    grid-column: span 7;
}

.span-5 {
    grid-column: span 5;
}



/* ——————————————————————————————————— SECCIÓN DESTINO / GALERÍA  ——————————————————————————————————————— */

.apx-galeria-scope {
    background-color: #191919;
    padding: 60px 0;
    border-radius: 18px;

}

.apx-galeria-scope .apx-foto {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.apx-galeria-scope .apx-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apx-galeria-scope .apx-foto-wide {
    aspect-ratio: 16 / 9;
}

.apx-galeria-scope .apx-vertical-flex {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

/* proporciones 4 / 3 / 3 */
.apx-galeria-scope .apx-v4 {
    flex: 4;
}

.apx-galeria-scope .apx-v3 {
    flex: 3;
}

.apx-section-dark {
    background-color: #191919;
    padding: 60px 0;
}

.apx-section-dark h2 {
    color: #9CEE69;
}

.apx-section-dark p {
    color: #fff;
    margin-bottom: 30px
}

/* =========================
   CENTRADO GLOBAL DE SECCIONES
========================= */

.apx-seccion {
    text-align: center;
}

.apx-seccion p {
    max-width: 900px;
    margin: -60px auto 40px;
}

.apx-seccion h2 {
    padding: 60px;
}

#retrato h2 {
    margin-bottom: 30px;
}

#retrato p {
    margin-bottom: 0px;
    /* baja este valor */
}


@media (min-width: 1200px) {
    .apx-galeria-scope .apx-vertical-flex .apx-foto {
        height: 520px;
        /* ajusta si quieres más alto/bajo */
    }
}


@media (max-width: 921px) {
    .apx-galeria-scope .apx-vertical-flex {
        flex-direction: column;
    }

    .apx-galeria-scope .apx-vertical-flex .apx-foto {
        height: auto;
        aspect-ratio: 3 / 4;
    }


}


/* ——————————————————————————————————— SECCIÓN DESTINO / GALERÍA / EVENTOS ——————————————————————————————————————— */
#eventos {
    background: #191919;
}

/* GRID PRINCIPAL */
#eventos .apx-eventos-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* vertical | horizontal | vertical */
    gap: 32px;
    align-items: stretch;
    width: 100%;
}

/* ANTI-ENCIMADO */
#eventos .apx-eventos-grid>figure,
#eventos .apx-evento-item {
    min-width: 0;
}

/* FORMATOS */
#eventos .apx-foto-vertical {
    aspect-ratio: 3 / 4;
}

#eventos .apx-foto-wide {
    aspect-ratio: 16 / 9;
}

/* IMÁGENES */
#eventos .apx-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apx-foto {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* ——————————————————————————————————— SECCIÓN DESTINO / GALERÍA / MASCOTAS ——————————————————————————————————————— */


#mascotas .apx-card {
    transition: none !important;
}

#mascotas .apx-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

#mascotas .apx-card img {
    transition: none !important;
}

#mascotas .apx-card:hover img {
    transform: none !important;
}


@media (max-width: 992px) {
    #mascotas .apx-grid {
        grid-template-columns: repeat(12, 1fr);
        max-width: 720px;
        /* similar a Retrato */
        margin: 0 auto;
    }

    #mascotas .apx-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #mascotas .apx-card:nth-child(4) {
        height: 330px !important;
    }

    #mascotas .apx-card:nth-child(3) {
        height: 330px !important;
    }

    #mascotas .apx-card:nth-child(2) {
        height: 305px !important;
    }

    #mascotas .apx-card:nth-child(1) {
        height: 305px !important;
    }



}

@media (max-width: 768px) {

    /* Forzar 1 columna */
    #mascotas .apx-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        gap: 18px;
    }

    #mascotas .apx-card {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 94% !important;
        margin: 0 auto !important;
    }

    /* Mascotas-1 horizontal */
    #mascotas .apx-card:nth-child(1) {
        height: 350px !important;
    }

    /* Mascotas-2 horizontal (si la quieres igual que la 1) */
    #mascotas .apx-card:nth-child(2) {
        height: 900px !important;
    }

    #mascotas .apx-card:nth-child(3) {
        height: 900px !important;
    }

    /* Verticales (3 y 4) dominantes */
    #mascotas .apx-card:nth-child(4) {
        height: 350px !important;
    }
}


@media (max-width: 576px) {

    /* 1) Forzar 1 columna sí o sí */
    #mascotas .apx-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    #mascotas .apx-card {
        grid-column: 1 / -1 !important;
        /* mata spans */
        width: 100% !important;
        max-width: 94% !important;
        margin: 0 auto !important;
    }

    /* 3) Horizontal (Mascota 1) */
    #mascotas .apx-card:nth-child(1) {
        height: 305px !important;
    }

    #mascotas .apx-card:nth-child(4) {
        height: 305px !important;
    }

    /* 4) Verticales (Mascota 2, 3, 4) */
    #mascotas .apx-card:nth-child(2),
    #mascotas .apx-card:nth-child(3),
    #mascotas .apx-card:nth-child(4) {
        height: 84vh !important;
        min-height: 520px;
        max-height: 720px;
    }
}

/* ====================================== SECCIÓN PACKING ==================================================== */


.packing {
    text-align: center;
    background-color: #191919;
    padding: 60px 0
}

.packing__title {
    color: #9BFF3B;
    margin-bottom: 20px;
}

.packing p {
    color: white;
}

.packing__desc {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.packing__img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 16px;
}

.packing .container {
    padding-left: 111px;
    padding-right: 111px;
}

@media (max-width: 992px) {
    .packing__img {
        margin-bottom: 20px;
    }
}


@media (max-width: 768px) {

    .packing .row {
        margin-left: 0;
        margin-right: 0;
    }

    .packing [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .packing img {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 24px;

    }

    .packing .container {
        padding-left: 5px;
        padding-right: 5px;
    }



}

/* ——————————————————————————————————— BOTONES PACKING ——————————————————————————————————————— */

/* ======================================
   BOTONES NAV (Packaging / Editorial / etc.)
====================================== */


.apx-nav-proyectos {
    width: 100%;
    background-color: #191919;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 65px 70px;
    margin: 0;
}


/* Cada botón como “área clickeable” */
.apx-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;

    /* animación */
    transition: transform .25s ease, filter .25s ease;
}

/* El PNG: nunca se estira */
.apx-nav-btn img {
    width: 320px;
    /* 👈 aquí controlas el tamaño */
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hover: se eleva tantito */
.apx-nav-btn:hover {
    transform: translateY(-6px);
}

.apx-nav-btn:hover img {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25));
}

/* Responsive */
@media (max-width: 768px) {
    .apx-nav-btn img {
        width: 260px;
    }
}

@media (max-width: 576px) {
    .apx-nav-proyectos {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
    }

    .apx-nav-btn img {
        width: 260px;
        /* se mantiene legible en mobile */
    }
}



/* ====================================== EDITORIAL ==================================================== */
/* ====================================== EDITORIAL (MOCKUP) ====================================== */

.editorial{
  background: #191919; /* código 19 */
  padding: 60px 0 80px;
  text-align: center;
}


/* contenedor para que todo no se estire demasiado */
.editorial__wrap{
  width: min(980px, 92vw);
  margin: 0 auto;
}

/* Título morado centrado */
.editorial__title{
  color: #9CEE69;
  margin: 0 0 10px;
  letter-spacing: 3px;          /* parecido al mockup */
}

/* texto superior chiquito */
.editorial__intro{
  color: white;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
}

/* Labels ANTE / AHORA */
.editorial__label-row{
  width: 100%;
  display: flex;
  margin: 8px 0 10px;
}

.editorial__label-row--left{ justify-content: flex-start; }
.editorial__label-row--right{ justify-content: flex-end; }

.editorial__label{
  font-family: "shooked";
  color: #9CEE69;
  letter-spacing: 2px;
  font-size: 35px;
  user-select: none;
}

/* Grid 2 columnas */
.editorial__grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

/* Tarjeta */
/* --- CARD: igual idea que packing (no caja gigante) --- */
.editorial__card{
  background: transparent;       /* quita el gris enorme */
  border-radius: 16px;           /* mismo borde que packing */
  padding: 0;
  overflow: hidden;
  margin: 0;
}

/* el <a> debe comportarse como bloque y no meter estilos raros */
.editorial__card a{
  display: block;
  text-decoration: none;
}

/* --- IMAGEN: como packing (se adapta, no se fuerza a 320px) --- */
.editorial__img{
  width: 100%;
  height: auto;                  /* 🔥 clave para que NO se vea enorme */
  display: block;
  border-radius: 16px;           /* mismo borde que packing */
}

/* wide igual, pero sin height fija */
.editorial__img--wide{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}



/* Texto intermedio */
.editorial__text{
  color: white;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
}

/* ====== WIDE (como tu 2da imagen) ====== */
.editorial__card--wide{
  border-radius: 16px;
  overflow: hidden;
  padding: 0;   
  aspect-ratio: 15 / 9;               /* CLAVE: sin marco interno que encoge la imagen */
}

/* La imagen wide llena el cuadro sin distorsión */
.editorial__card--wide .editorial__img--wide{
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;        /* ✅ llena sin deformar (recorta un poco si hace falta) */
  object-position: center;  /* centra el recorte */
  border-radius:20px;         /* para que el borde lo controle la card */
}



/* Si quieres que la tarjeta wide se vea un poquito más “aireada” */
.editorial__card--wide .editorial__img{
  max-height: 560px;
}


/* =========================
   FIX EDITORIAL RESPONSIVE (SIN AFECTAR ESCRITORIO)
========================= */

/* Solo en móvil <=768px */
@media (max-width: 768px) {

  /* 1) La card no debe tener padding en mobile */
  .editorial__card {
    padding: 0 !important;
  }

  /* 2) Wide en mobile: usar contain y ajustar altura */
  .editorial__card--wide {
    aspect-ratio: auto !important;
    height: auto !important;
  }

  .editorial__card--wide .editorial__img--wide {
    width: 100%;
    height: auto !important;
    object-fit: contain !important; /* solo en mobile */
    object-position: center;
    border-radius: 16px; /* mantiene el borde */
    background: transparent;
  }
}

/* Ajustes específicos para <=576px */
@media (max-width: 576px) {
  .editorial__text {
    margin: 12px auto 14px !important;
  }

  .editorial__grid {
    margin-bottom: 12px !important;
  }

  /* En mobile pequeño, si quieres, ajusta el ratio para que no se recorte */
  .editorial__card--wide {
    aspect-ratio: 4 / 3; /* o 1/1 si prefieres más cuadrado */
  }
}



/* ====================================== CINEMA 4D ==================================================== */


.catalogos-grid {
    background: #191919;
    padding: 70px 0;
    text-align: center;
}

.catalogos-grid__container {
    padding-left: 111px;
    padding-right: 111px;
}

.catalogos-grid__title {
    color: #9CEE69;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.catalogos-grid__desc {
    color: #d6d6d6;
    max-width: 900px;
    margin: 0 auto 35px;
    line-height: 1.6;
    font-size: 15px;
}

.catalogos-grid__card {
    background: #e7e7e7;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;

    margin: 0;
}


.catalogos-grid__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}


.catalogos-grid__img--wide {
    height: 360px;
    object-fit: cover;
}


@media (max-width: 992px) {
    .catalogos-grid__container {
        padding-left: 60px;
        padding-right: 60px;
    }

    .catalogos-grid__img {
        height: 240px;
    }

    .catalogos-grid__img--wide {
        height: 330px;
    }
}

/* 768↓ (mobile 1 por fila, estilo que ya usamos) */
@media (max-width: 768px) {
    .catalogos-grid__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .catalogos-grid__img,
    .catalogos-grid__img--wide {
        height: 240px;
    }
}


/* ================================================== CONTACTO ============================================================ */
.section-title {
    padding: 80px 0 0;
    color: #9CEE69;

}

.section-heading .section-title {
    position: relative;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: -40px;
}

.section-heading .section-title::after,
.section-heading .section-title::before {
    content: none !important;
    display: none !important;
}

nav a:not(.navbar-brand) {
    line-height: 1.2 !important;
}

/* ================================================== FOOTER NAV ============================================================ */

.ap-footer {
    background: linear-gradient(90deg,
            #191919 0%,
            #351488 50%,
            #191919 100%);
    padding: 20px 0;
}

.ap-footer__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Texto */
.ap-footer__text {
    margin: 0;
    color: #ffffff;
    font-family: "urbanist", sans-serif;
    font-size: 15px;
}

/* Redes */
.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-social img:hover {
    transform: scale(1.08);
    opacity: 0.85;
}


/* Tablet hacia abajo */
@media (max-width: 768px) {
    .ap-footer__wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }
}

/* Más pequeño todavía (tu “otra medida” tipo 430/414/390) */
@media (max-width: 430px) {
    .ap-footer__text {
        font-size: 14px;
    }

    .footer-social img {
        width: 36px;
        height: 36px;
    }
}

/* ——————————————————————————————————— FLECHA SCROLL ——————————————————————————————————————— */

.inicio {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #ACB0F2;
    border-radius: 50%;
    text-decoration: none;

    z-index: 9999;

    /* oculto al inicio */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, background-color .25s ease;
}

.inicio img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.inicio.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.inicio:hover {
    background-color: #9CEE69;
    box-shadow: 0 0 18px rgba(156, 238, 105, 0.8);
    transform: translateY(-3px);
}

/* ======================================
   RESPONSIVE: BOTÓN VOLVER ARRIBA
====================================== */

/* 768px ↓ (tablet / mobile) */
@media (max-width: 768px) {
    .inicio {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .inicio img {
        width: 20px;
        height: 20px;
    }
}

/* 576px ↓ (mobile) */
@media (max-width: 576px) {
    .inicio {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .inicio img {
        width: 18px;
        height: 18px;
    }

    /* blur un poquito más suave para que no “invada” */
    .inicio:hover {
        box-shadow: 0 0 14px rgba(156, 238, 105, 0.75);
    }
}

/* 430px ↓ (muy pequeño) */
@media (max-width: 430px) {
    .inicio {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }

    .inicio img {
        width: 17px;
        height: 17px;
    }
}




/* ========== MEDIA QUERY ========== */


@media (max-width: 992px) {
    .hero-content {
        padding-right: 135px;
    }

    .hero-title span:nth-child(1) {
        font-size: 90px;
    }

    .hero-title span:nth-child(2) {
        font-size: 50px;
        margin-left: 6px;
    }

    .hero-title span:nth-child(3) {
        font-size: 55px;
        margin-left: 0px;
    }

    /*-----------------Quien es annco--------------*/
    .quien-es {
        padding: 121px 40px;
    }

    .quien-es-img {
        max-width: 460px;
        padding-bottom: 40px;
    }

    .quien-es p {
        max-width: 560px;
        font-size: 17px;
    }

    .icono-izq {
        width: 220px;
        transform: translate(-28%, -35%);
    }

    .icono-der {
        width: 225px;
        top: -25px;
        right: -35px;
        opacity: 65%;
        transform: none;
    }

    /* ————— CARDS BANNERS ————— */
    @media (max-width: 992px) {
        .banner-card {
            width: 300px;
            height: 430px;
        }
    }

    /* ————— MOCKUP REVISTA Y PACKING ————— */
    .mockup__grid {
        grid-template-columns: 1fr;
        /* se apilan */
    }

    .mockup__card {
        height: 340px;
    }

    /* ————— DOMINIO DE PROGRAMAS————— */
    .dominio-titulo {
        font-size: 36px;
    }

    .dominio-grid {
        gap: 40px;
    }


    .historia h2 {
        font-size: 38px;
    }

    .banners-title {
        font-size: 50px;
        ;
    }

    .apx-carousel-title {
        font-size: 50px;
    }

    .redes3d__title {
        font-size: 50px;
    }

    .mockup__title {
        font-size: 50px;
    }

    .modelado3d__title {
        font-size: 50px;
    }

    .sobre-mi-texto h2 {
        font-size: 50px;
    }
}

@media (max-width: 820px) {

    /* ————— REDES SOCIALES - GALERÍA 3D ————— */

    html,
    body {
        overflow-x: hidden;
    }

    .redes3d__stage {
        width: 100%;
        max-width: 100%;
        height: 340px;
        padding: 0 18px;
        overflow: hidden;
        margin: 0 auto;
    }

    .redes3d__gallery {
        --size: 220px;
        --radius: 340px;
    }

    /* Botones centrados */
    .redes3d__controls {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 768px) {

    /*NAV*/

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
        text-align: left;
        padding: 10px 40px;
        background: #000;
    }

    body {
        padding-top: 70px;
    }

    /* Logo izquierda */
    .navbar-brand {
        float: none;
        display: inline-block;
    }

    /* Icono 3 líneas */
    .menu-mobile {
        display: block;
        position: absolute;
        right: 40px;
        top: 18px;
        cursor: pointer;
    }

    nav a:not(.navbar-brand) {
        display: none;
    }

    nav.menu-open a:not(.navbar-brand) {
        display: block;
        width: 100%;
        margin: 15px 0;
        text-align: center;
    }


    .resumen-proyectos h2 {
        font-size: 50px;
    }

    .galeria-titulo {
        font-size: 50px;
    }

    .hero-content {
        padding-right: 60px;
    }

    /*-----------------Quién es annco--------------*/
    .quien-es {
        padding: 101px 24px;
    }

    .quien-es-img {
        max-width: 420px;
        padding-bottom: 30px;
    }

    .quien-es p {
        max-width: 520px;
        font-size: 16px;
        margin: 0 auto 28px auto;
    }

    .icono-izq {
        width: 221px;
        transform: translate(-25%, -30%);
        opacity: 55%;
    }

    .icono-der {
        width: 225px;
        top: -35px;
        right: -46px;
        transform: none;
        opacity: 45%;
    }

    /* ————— MODELADO 3D  ————— */
    .modelado3d__title {
        font-size: 40px;
    }

    .modelado3d__overlay span {
        font-size: 30px;
    }

    /* ————— SOBRE MÍ————— */
    .sobre-mi-container {
        flex-direction: column;
        text-align: center;
    }

    .sobre-mi-texto h2 {
        font-size: 45px;
    }

    /* ————— DOMINIO DE PROGRAMAS————— */

    .dominio-titulo {
        font-size: 30px;
    }

    .titulo-programas {
        max-width: 120px;
        margin: 10px auto 0;
        text-align: center;
    }

    .dominio-grid {
        gap: 30px;
    }

    .break-5 {
        display: none;
    }

    .dominio-grid>div:nth-child(4)::after {
        content: "";
        flex-basis: 100%;
        height: 0;
    }

    /* ————— TRAYECTORIA ————— */

    .trayectoria__timeline::before {
        left: 22px;
        transform: none;
    }

    .trayectoria__item {
        grid-template-columns: 44px 1fr;
        margin: 28px 0;
    }

    .trayectoria__dot {
        grid-column: 1 / 2;
        justify-self: center;
    }

    .trayectoria__card {
        grid-column: 2 / 3;
        max-width: 100%;
        text-align: left;
    }

    .trayectoria__item--left .trayectoria__card,
    .trayectoria__item--right .trayectoria__card {
        grid-column: 2 / 3;
        justify-self: start;
        text-align: left;
        width: 100%;
        max-width: 520px;
    }

    .trayectoria__item--left.reveal,
    .trayectoria__item--right.reveal {
        transform: translateX(40px);
    }

    .reveal.show {
        transform: translateX(0);
    }

    /* ————— Portafolio ————— */

}


@media (max-width: 576px) {

    /* Nav mobile*/
    .menu-mobile {
        right: 20px;
    }

    .hero {
        height: 80vh;
    }

    .hero-title span:nth-child(1) {
        font-size: 44px;
    }

    .hero-title span:nth-child(2) {
        font-size: 24px;
    }

    .hero-title span:nth-child(3) {
        font-size: 32px;
    }

    /*----------------- BIENVENIDOS--------------*/

    .hero-content {
        padding-right: 60px;
    }

    .hero-title span:nth-child(1) {
        font-size: 65px;
    }

    .hero-title span:nth-child(2) {
        font-size: 37px;
        margin-left: 6px;
    }

    .hero-title span:nth-child(3) {
        font-size: 41px;
        margin-left: 0px;
    }

    /*-----------------Quien es annco--------------*/
    .quien-es-img {
        padding-bottom: 60px;
        text-align: center;
        width: 100%;
        max-width: 500px
    }

    .quien-es {
        padding: 81px 16px;
    }

    .quien-es-img {
        max-width: 320px;
        padding-bottom: 22px;
    }

    .quien-es p {
        max-width: 92%;
        font-size: 15px;
        line-height: 1.55;
        margin: 0 auto 22px auto;
    }

    .quien-es h2 {
        font-size: 15px;
        padding: 10px 20px;
    }

    .icono-izq {
        width: 200px;
        transform: translate(-28%, -27%);
        opacity: 45%;
    }

    .icono-der {
        width: 140px;
        top: -35px;
        right: -40px;
        transform: none;
        opacity: 65%;
    }

    /* CARDS FLYERS */

    .gslide-inner-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .gslide img {
        max-height: 85vh;
        width: auto;
        margin: 0 auto;
    }

    /* ————— REDES SOCIALES - GALERÍA 3D ————— */

    .redes3d__wrap {
        overflow-x: hidden;
    }

    .redes3d__stage {
        width: 100%;
        max-width: 100%;
        height: 300px;
        overflow: visible;
    }

    .redes3d__gallery {
        --size: 175px;
        --radius: 280px;
    }

    .redes3d__gallery span a {
        padding: 0;
    }

    .redes3d__gallery span img {
        border-radius: 10px;
    }

    /* ————— MOCKUP REVISTA Y PACKING ————— */

    .mockup__card {
        height: 280px;
        border-radius: 22px;
    }

    .mockup__text {
        font-size: 22px;
    }

    .historia h2 {
        font-size: 27px;
    }

    .banners-title {
        font-size: 45px;
        ;
    }

    .apx-carousel-title {
        font-size: 41px;
    }

    .redes3d__title {
        font-size: 45px;
    }

    .mockup__title {
        font-size: 45px;
    }

    .modelado3d__title {
        font-size: 45px;
    }

    #retrato p {
        margin-bottom: -26px;
        font-size: 17px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .apx-galeria__header p {
        margin-bottom: -5px;
        font-size: 17px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .apx-seccion p {
        margin-bottom: 0px;
        font-size: 17px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 430px) {
    .redes3d__stage {
        height: 280px;
    }

    .redes3d__gallery {
        --size: 160px;
        --radius: 245px;
    }

    /* ————— DOMINIO DE PROGRAMAS————— */
    .dominio-titulo {
        font-size: 24px;
    }

    .dominio-item {
        width: 120px;
        height: 120px;
    }

    /*----------------- BIENVENIDOS--------------*/

    .hero-content {
        padding-right: 60px;
    }

    .hero-title span:nth-child(1) {
        font-size: 43px;
    }

    .hero-title span:nth-child(2) {
        font-size: 23px;
        margin-left: 6px;
    }

    .hero-title span:nth-child(3) {
        font-size: 26px;
        margin-left: 0px;
    }

    .hero-title span {
        line-height: 1;
        /* antes 1.1 → junta verticalmente */
    }

    .hero-title span:nth-child(2),
    .hero-title span:nth-child(3) {
        margin-top: 4px;
        /* antes 12px */
    }

}


@media (max-width: 390px) {
    .redes3d__stage {
        height: 260px;
    }

    .redes3d__gallery {
        --size: 150px;
        --radius: 260px;
    }
}

@media (max-width: 360px) {
    .redes3d__stage {
        height: 240px;
    }

    .redes3d__gallery {
        --size: 140px;
        --radius: 245px;
    }
}

/* iPhone XR ~414px */
@media (max-width: 414px) {
    .quien-es {
        padding: 70px 14px;
    }

    .quien-es-img {
        max-width: 280px;
    }

    .quien-es p {
        font-size: 14px;
    }
}