@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

/* Scrollbar general */
::-webkit-scrollbar {
    width: 7px;
}

/* Fondo del track */
::-webkit-scrollbar-track {
    background: #e6efff;
}

/* Thumb (la parte que se mueve) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffffff, #3F71AE);
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    transition: all 0.3s ease;
}

/* Hover del thumb */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffffffad, #3F71AEad);
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden; 
}

main{
    margin-top: 74.8px;
}

/* ------- ESTILOS DEL HEADER ------- */

a{
    text-decoration: none;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 30px; 

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fffffff8;
    box-sizing: border-box;
    overflow-x: clip;
}

header img{
    transition: 0.3s ease;
}

header img:hover{
    opacity: 0.8;
    transition: 0.3s ease;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: #3F71AE;
    border-radius: 5px;
    transition: all 0.3s ease;
}

header a{
    color: #1c1c1c;
    transition: 0.3s ease;
    align-items: center;
}

header a:hover{
    color: #3F71AE;
    transition: 0.3s ease;
}

.navbar{
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
}

.navbar .contacto{
    background: #3F71AE;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.navbar .contacto:hover{
    background: #386297;
    transition: 0.3s ease;
    transform: scale(1.05);
}

.navbar .contacto a{
    color: #ffffff;
}



/* ------- ESTILOS DEL HERO ------- */

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.card-informativo.scroll-reveal:nth-child(2),
.card-informativo-servicio.scroll-reveal:nth-child(2) {
    transition-delay: 120ms;
}

.card-informativo.scroll-reveal:nth-child(3),
.card-informativo-servicio.scroll-reveal:nth-child(3) {
    transition-delay: 240ms;
}

.card-informativo-servicio.scroll-reveal:nth-child(4) {
    transition-delay: 360ms;
}

.card-informativo-servicio.scroll-reveal:nth-child(5) {
    transition-delay: 480ms;
}

.card-informativo.scroll-reveal:nth-child(4) {
    transition-delay: 360ms;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}


#hero{
    display: flex;
    padding: 0px 0 0 30px;
}

#hero h1{
    width: 83%;
    margin: 0;
    font-size: 60px;
    line-height: 70px;
    color: #1c1c1c;
}

#hero span{
    color: #3F71AE;
}

#hero p{
    width: 91%;
    margin: 0;
    font-size: 20px;
    color: #757575;
}

.info-principal{
    width: 50%;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.BTNs{
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.BTNs button{
    font-family: "Poppins", sans-serif ;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-proyectos{
    background: #3F71AE;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    transition: 0.5s ease;
}

.btn-proyectos:hover{
    background: #386297;
    transition: 0.5s ease;
}

.btn-contacto{
    background: transparent;
    border: 2px solid #3F71AE;
    font-weight: 600;
    color: #3F71AE;
    margin: 0;
    padding: 8px 30px;
    transition: 0.5s ease;
}

.btn-contacto:hover{
    background: #3F71AE;
    transition: 0.5s ease;
    color: #ffffff;
}

.heroIlustacion{
    width: 50%;
}

.heroIlustacion img{
    display: flex;
    margin: 0 auto;
}

/* ------- ESTILOS DEL NOSOTROS ------- */

#Nosotros{
    padding: 80px 30px;
}

.texto-informativo{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 152px 64px;
}

.texto-informativo h2{
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 24px;
}

.texto-informativo span{
    color: #3F71AE;
}

.texto-informativo p{
    color: #757575;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 0;
}

.cards{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card-informativo{
    display: flex;
    width: 230px;
    height: 233px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0px 0px 20px #3f71ae29;
    transition: 0.6s ease;
}

.card-informativo:hover{
    transform: scale(1.06);
    transition: 0.6s ease;
}

.card-informativo img{
    padding: 14px;
    background: #3f71ae18;
    border-radius: 20px;
}

.card-informativo h3{
    font-size: 20px;
    color: #1c1c1c;
    margin: 16px auto 0;
}

.card-informativo p{
    font-size: 14px;
    color: #757575;
    margin: 16px auto 0;
}



/* ------- ESTILOS DEL SERVICIOS ------- */



#Servicios{
    background: #F5F7FA;
    padding: 80px 30px;
}

.cards-servicios{
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}

.card-informativo-servicio{
    --service-accent: #3f71ae;
    position: relative;
    grid-column: span 4;
    width: auto;
    min-width: 0;
    min-height: 290px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 22px 20px;
    overflow: hidden;
    border: 1px solid #3f71ae18;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px #203b5c0d;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card-informativo-servicio:nth-child(1),
.card-informativo-servicio:nth-child(2) {
    grid-column: span 6;
}

.card-informativo-servicio:nth-child(2) {
    --service-accent: #5687c2;
}

.card-informativo-servicio:nth-child(3) {
    --service-accent: #cd8a42;
}

.card-informativo-servicio:nth-child(4) {
    --service-accent: #8065b5;
    grid-column: span 4;
}

.card-informativo-servicio:nth-child(5) {
    --service-accent: #3f9a80;
    grid-column: span 4;
}

.card-informativo-servicio::before {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--service-accent), color-mix(in srgb, var(--service-accent), white 50%));
    content: "";
}

.card-informativo-servicio::after {
    position: absolute;
    z-index: 0;
    top: -70px;
    right: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--service-accent);
    content: "";
    opacity: .045;
    pointer-events: none;
    transition: transform .4s ease, opacity .4s ease;
}

.card-informativo-servicio > * {
    position: relative;
    z-index: 1;
}

.card-informativo-servicio img{
    padding: 13px;
    background: color-mix(in srgb, var(--service-accent), transparent 88%);
    border-radius: 18px;
    transition: transform .35s ease, border-radius .35s ease;
}

.servicio-etiqueta {
    margin-top: 14px;
    color: var(--service-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.card-informativo-servicio h3{
    font-size: 21px;
    color: #1c1c1c;
    margin: 10px 0 0;
}

.card-informativo-servicio p{
    color: #757575;
    margin: 12px 0 20px;
    font-size: 14px;
    line-height: 1.6;
}

.card-informativo-servicio:hover{
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--service-accent), transparent 55%);
    box-shadow: 0 18px 36px color-mix(in srgb, var(--service-accent), transparent 82%);
}

.card-informativo-servicio:hover::after {
    transform: scale(1.4);
    opacity: .09;
}

.card-informativo-servicio:hover img {
    transform: translateY(-3px) rotate(-4deg);
    border-radius: 14px;
}

@media (max-width: 900px) {
    .cards-servicios {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-informativo-servicio,
    .card-informativo-servicio:nth-child(1),
    .card-informativo-servicio:nth-child(2),
    .card-informativo-servicio:nth-child(4),
    .card-informativo-servicio:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .cards-servicios {
        grid-template-columns: minmax(0, 1fr);
    }
}

.servicio-enlace {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--service-accent);
    font-size: 14px;
    font-weight: 600;
}

.servicio-enlace span {
    display: inline-block;
    font-size: 18px;
    transition: transform .25s ease;
}

.servicio-enlace:hover span,
.servicio-enlace:focus-visible span {
    transform: translateX(5px);
}

.servicio-enlace:focus-visible {
    outline: 2px solid var(--service-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .card-informativo-servicio,
    .card-informativo-servicio::after,
    .card-informativo-servicio img,
    .servicio-enlace span {
        transition: none;
    }

    .card-informativo-servicio:hover,
    .card-informativo-servicio:hover img {
        transform: none;
    }
}



/* ------- ESTILOS DEL PROYECTOS ------- */



#Proyectos {
    overflow: hidden;
    padding: 80px 0;
    background:
        radial-gradient(ellipse at 50% 55%, #eaf1fa 0, #f7f9fc 48%, #ffffff 78%);
}

#Proyectos > .texto-informativo {
    padding: 0 30px;
}

.project-carousel {
    --project-width: min(780px, 72vw);
    width: min(1320px, 100%);
    margin: 0 auto;
    outline: none;
}

.project-carousel:focus-visible {
    outline: 2px solid #3f71ae;
    outline-offset: 6px;
}

.project-stage {
    position: relative;
    height: clamp(420px, 48vw, 540px);
    overflow: hidden;
    perspective: 1400px;
    touch-action: pan-y;
}

.project-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: var(--project-width);
    height: min(440px, calc(100% - 48px));
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid #ffffff90;
    border-radius: 24px;
    background: #162638;
    box-shadow: 0 30px 80px #172d4930;
    color: #fff;
    transform-origin: center;
    transition:
        transform 700ms cubic-bezier(.2, .75, .25, 1),
        opacity 700ms ease,
        filter 700ms ease,
        box-shadow 700ms ease;
}

.project-slide.is-current {
    z-index: 3;
    opacity: 1;
    filter: none;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 32px 90px #172d4938;
}

.project-slide.is-previous {
    z-index: 2;
    opacity: .58;
    filter: saturate(.72) brightness(.78);
    transform: translate(calc(-50% - 66%), -50%) scale(.84) rotateY(9deg);
}

.project-slide.is-next {
    z-index: 2;
    opacity: .58;
    filter: saturate(.72) brightness(.78);
    transform: translate(calc(-50% + 66%), -50%) scale(.84) rotateY(-9deg);
}

.project-slide.is-hidden {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -45%) scale(.72);
}

.project-slide__image,
.project-slide__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-slide__image {
    object-fit: cover;
    object-position: center;
    transition: transform 900ms cubic-bezier(.2, .75, .25, 1);
}

.project-slide.is-current:hover .project-slide__image {
    transform: scale(1.035);
}

.project-slide__scrim {
    background:
        linear-gradient(90deg, #07366fdb 0%, #10549fc2 48%, #2478bd4d 100%),
        linear-gradient(0deg, #0a3e78d9 0%, transparent 75%);
}

.project-slide__content {
    position: relative;
    z-index: 1;
    width: min(570px, 80%);
    padding: clamp(28px, 5vw, 56px);
}

.project-slide__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.project-slide__number {
    color: #ffffffc2;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .16em;
}

.project-slide__status {
    padding: 6px 10px;
    border: 1px solid #ffffff70;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    letter-spacing: .04em;
}

.project-slide h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.project-slide__content > p {
    max-width: 510px;
    margin: 16px 0 0;
    color: #ffffffd1;
    font-size: 15px;
    line-height: 1.7;
}

.project-slide__technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.project-slide__technologies span {
    padding: 6px 11px;
    border: 1px solid #ffffff52;
    border-radius: 999px;
    background: #ffffff12;
    color: #fff;
    font-size: 11px;
    backdrop-filter: blur(8px);
}

.project-slide__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.project-slide__link span {
    display: inline-block;
    font-size: 19px;
    transition: transform 250ms ease;
}

.project-slide__link:hover span,
.project-slide__link:focus-visible span {
    transform: translate(3px, -3px);
}

.project-slide__link:focus-visible,
.project-control:focus-visible,
.project-pagination__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.project-controls {
    display: flex;
    width: min(780px, 84vw);
    align-items: center;
    justify-content: space-between;
    margin: 28px auto 0;
}

.project-control {
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    transition: transform 250ms ease, background 250ms ease, color 250ms ease;
}

.project-control--arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #3f71ae40;
    border-radius: 50%;
    background: #fff;
    color: #3f71ae;
    font-size: 22px;
}

.project-control--arrow:hover {
    transform: translateY(-2px);
    background: #3f71ae;
    color: #fff;
}

.project-controls__middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.project-control--playback {
    width: 32px;
    height: 32px;
    border: 1px solid #3f71ae35;
    border-radius: 50%;
    background: #ffffffb8;
    color: #3f71ae;
    font-size: 13px;
}

.project-control--playback:hover {
    background: #3f71ae;
    color: #fff;
}

.project-counter {
    color: #1c1c1c;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
}

.project-counter > span {
    color: #8a929d;
    font-weight: 400;
}

.project-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-pagination__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #3f71ae45;
    cursor: pointer;
    transition: width 300ms ease, background 300ms ease;
}

.project-pagination__dot.is-current {
    width: 26px;
    background: #3f71ae;
}

@media (max-width: 700px) {
    #Proyectos > .texto-informativo {
        margin: 0 0 40px;
        padding: 0 18px;
    }

    #Proyectos > .texto-informativo h2 {
        font-size: clamp(26px, 8vw, 34px);
        line-height: 1.15;
        margin-bottom: 16px;
        margin-right: 30px;
    }

    #Proyectos > .texto-informativo p {
        font-size: 16px;
        margin-right: 30px;
    }

    .project-carousel {
        --project-width: 84vw;
    }

    .project-stage {
        height: 490px;
    }

    .project-slide {
        height: min(420px, calc(100% - 48px));
        border-radius: 20px;
    }

    .project-slide.is-previous {
        transform: translate(calc(-50% - 71%), -50%) scale(.82) rotateY(6deg);
    }

    .project-slide.is-next {
        transform: translate(calc(-50% + 71%), -50%) scale(.82) rotateY(-6deg);
    }

    .project-slide__content {
        width: auto;
        padding: 28px;
    }

    .project-slide__content > p {
        font-size: 13px;
        line-height: 1.55;
    }

    .project-controls {
        width: 84vw;
        margin-top: 18px;
    }
}

@media (max-width: 420px) {
    .project-stage {
        height: 450px;
    }

    .project-slide {
        height: min(390px, calc(100% - 36px));
    }

    .project-slide__content {
        padding: 22px;
    }

    .project-slide__meta {
        margin-bottom: 11px;
    }

    .project-slide__content > p {
        margin-top: 11px;
    }

    .project-slide__technologies {
        margin-top: 14px;
    }

    .project-slide__link {
        margin-top: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-slide,
    .project-slide__image,
    .project-slide__link span,
    .project-control,
    .project-pagination__dot {
        transition: none;
    }
}

/* ------- ESTILOS DE DINAMICAS ------- */

#dinamica{
    padding: 64px 30px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}

.promo-dinamica__section-heading {
    margin: 0 auto 24px;
    text-align: center;
}

.promo-dinamica__section-heading h2 {
    margin: 0;
    color: #1c1c1c;
    font-size: 32px;
    line-height: 1.2;
}

.promo-dinamica__section-heading h2 span {
    color: #3f71ae;
}

.promo-dinamica__section-heading p {
    margin: 8px 0 0;
    color: #757575;
    font-size: 15px;
}

.dinamica-informativa{
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    grid-template-rows: auto auto;
    column-gap: clamp(24px, 5vw, 72px);
    row-gap: 28px;
    width: min(960px, 100%);
    box-sizing: border-box;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 44px);
    overflow: hidden;
    border: 1px solid #dce7f4;
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 83% 45%, #dceaffb8 0, transparent 43%),
        linear-gradient(120deg, #fff 0%, #f9fbff 57%, #edf4fd 100%);
    box-shadow: 0 28px 80px #203b5c12;
}

.promo-dinamica__copy {
    position: relative;
    z-index: 2;
    align-self: center;
    max-width: 480px;
}

.promo-dinamica__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #3f71ae;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.promo-dinamica__pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3f9a80;
    box-shadow: 0 0 0 5px #3f9a801a;
}

.promo-dinamica__copy h3 {
    max-width: 480px;
    margin: 0;
    color: #111a27;
    font-size: clamp(34px, 3.8vw, 46px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .99;
}

.promo-dinamica__copy h3 span {
    display: block;
    color: #347bd0;
}

.promo-dinamica__intro {
    max-width: 440px;
    margin: 10px 0 0;
    color: #24354c;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.4;
}

.promo-dinamica__offer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.promo-dinamica__offer-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #3f71ae;
    border-radius: 14px;
    color: #347bd0;
    font-size: 24px;
    font-weight: 600;
    transform: rotate(-7deg);
}

.promo-dinamica__offer p {
    margin: 0;
    color: #172538;
    font-size: 16px;
    line-height: 1.35;
}

.promo-dinamica__offer strong {
    color: #347bd0;
    font-size: clamp(21px, 2.8vw, 32px);
    letter-spacing: -.04em;
}

.promo-dinamica__description {
    max-width: 460px;
    margin: 8px 0 0;
    color: #66758a;
    font-size: 14px;
    line-height: 1.65;
}

.promo-dinamica__cta {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(100deg, #347bd0, #2869bd);
    box-shadow: 0 10px 22px #347bd033;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.promo-dinamica__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 28px #347bd044;
}

.promo-dinamica__cta:focus-visible {
    outline: 3px solid #172538;
    outline-offset: 4px;
}

.promo-dinamica__cta span {
    font-size: 20px;
    transition: transform 250ms ease;
}

.promo-dinamica__cta:hover span {
    transform: translateX(4px);
}

.promo-dinamica__visual {
    position: relative;
    display: grid;
    min-height: 230px;
    place-items: center;
    align-self: center;
}

.promo-dinamica__orbit {
    position: absolute;
    aspect-ratio: 1;
    border: 1px solid #3f71ae20;
    border-radius: 50%;
}

.promo-dinamica__orbit--outer {
    width: min(31vw, 360px);
    min-width: 260px;
}

.promo-dinamica__orbit--inner {
    width: min(23vw, 260px);
    min-width: 190px;
}

.promo-dinamica__browser {
    position: relative;
    z-index: 1;
    width: min(100%, 340px);
    overflow: hidden;
    border: 1px solid #ffffffc9;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 24px 55px #17395a27;
    transform: rotate(-5deg);
    transition: transform 500ms ease, box-shadow 500ms ease;
}

.dinamica-informativa:hover .promo-dinamica__browser {
    transform: rotate(-2deg) translateY(-5px);
    box-shadow: 0 32px 65px #17395a33;
}

.promo-dinamica__browser-bar {
    display: flex;
    height: 34px;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    border-bottom: 1px solid #e8edf4;
}

.promo-dinamica__browser-bar > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4deeb;
}

.promo-dinamica__browser-bar > span:first-child {
    background: #f29a87;
}

.promo-dinamica__browser-bar > span:nth-child(2) {
    background: #efc46b;
}

.promo-dinamica__browser-bar > span:nth-child(3) {
    background: #81c7a0;
}

.promo-dinamica__browser-bar i {
    width: 42%;
    height: 8px;
    margin: 0 auto;
    border-radius: 99px;
    background: #f0f3f8;
}

.promo-dinamica__browser-content {
    min-height: 190px;
    padding: 20px 22px;
    background:
        linear-gradient(135deg, transparent 54%, #dceaff 54%),
        linear-gradient(180deg, #fff, #f6f9fe);
}

.promo-dinamica__mock-logo {
    width: 54px;
    height: 8px;
    margin-bottom: 28px;
    border-radius: 99px;
    background: #17395a;
}

.promo-dinamica__mock-heading {
    width: 66%;
    height: 15px;
    margin-top: 7px;
    border-radius: 99px;
    background: #24354c;
}

.promo-dinamica__mock-heading--accent {
    width: 48%;
    background: #347bd0;
}

.promo-dinamica__mock-copy {
    width: 56%;
    height: 6px;
    margin-top: 15px;
    border-radius: 99px;
    background: #b7c3d2;
}

.promo-dinamica__mock-copy--short {
    width: 40%;
    margin-top: 7px;
}

.promo-dinamica__mock-button {
    width: 72px;
    height: 20px;
    margin-top: 17px;
    border-radius: 99px;
    background: #347bd0;
}

.promo-dinamica__code {
    position: absolute;
    z-index: 2;
    right: -4px;
    bottom: 12px;
    display: flex;
    min-width: 116px;
    flex-direction: column;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #ffffffc9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 30px #17395a20;
    color: #347bd0;
    transform: rotate(5deg);
}

.promo-dinamica__code > span {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -.08em;
}

.promo-dinamica__code p {
    margin: 2px 0 0;
    color: #24354c;
    font-size: 11px;
}

.promo-dinamica__badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: -5px;
    display: flex;
    width: 82px;
    height: 82px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffffa8;
    border-radius: 50%;
    background: #347bd0;
    box-shadow: 0 10px 25px #347bd044;
    color: #fff;
    line-height: 1;
    transform: rotate(-10deg);
}

.promo-dinamica__badge span {
    font-size: 8px;
    letter-spacing: .14em;
}

.promo-dinamica__badge strong {
    margin: 4px 0;
    font-size: 19px;
    letter-spacing: .04em;
}

.promo-dinamica__benefits {
    z-index: 1;
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 12px clamp(18px, 4vw, 48px);
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid #dce7f4;
    color: #24354c;
    list-style: none;
}

.promo-dinamica__benefits li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 500;
}

.promo-dinamica__benefits li span {
    color: #347bd0;
    font-size: 17px;
    font-weight: 600;
}

@media (max-width: 760px) {
    #dinamica {
        padding: 64px 20px;
    }

    .dinamica-informativa {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        row-gap: 10px;
        padding: clamp(24px, 5vw, 36px);
        border-radius: 22px;
    }

    .promo-dinamica__copy {
        max-width: none;
    }

    .promo-dinamica__visual {
        min-height: 170px;
        margin: 0;
    }

    .promo-dinamica__orbit--outer {
        width: 220px;
        min-width: 0;
    }

    .promo-dinamica__orbit--inner {
        width: 165px;
        min-width: 0;
    }

    .promo-dinamica__browser {
        width: min(82%, 300px);
    }

    .promo-dinamica__browser-content {
        min-height: 100px;
        padding: 14px 18px;
    }

    .promo-dinamica__benefits {
        display: grid;
        grid-column: 1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding-top: 14px;
    }

    .promo-dinamica__benefits li {
        gap: 4px;
        font-size: 10px;
    }
}

@media (max-width: 440px) {
    #dinamica {
        padding: 48px 16px;
    }

    .dinamica-informativa {
        padding: 22px 16px;
    }

    .promo-dinamica__eyebrow {
        font-size: 10px;
        letter-spacing: .08em;
    }

    .promo-dinamica__copy h3 {
        font-size: clamp(30px, 8vw, 36px);
    }

    .promo-dinamica__intro {
        font-size: 16px;
    }

    .promo-dinamica__visual {
        min-height: 150px;
    }

    .promo-dinamica__browser-content {
        min-height: 100px;
    }

    .promo-dinamica__badge {
        left: -10px;
        width: 70px;
        height: 70px;
    }

    .promo-dinamica__code {
        right: -10px;
        bottom: 0;
        min-width: 96px;
    }

    .promo-dinamica__benefits {
        flex-direction: column;
        gap: 8px;
        padding-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-dinamica__browser,
    .promo-dinamica__cta,
    .promo-dinamica__cta span {
        transition: none;
    }

    .dinamica-informativa:hover .promo-dinamica__browser {
        transform: none;
    }
}


/* ------- ESTILOS DEL CONTACTO ------- */



#Contacto{
    position: relative;
    overflow: hidden;
    padding: 88px 30px;
    background:
        radial-gradient(ellipse at 15% 50%, #c9def844 0, transparent 42%),
        radial-gradient(ellipse at 90% 10%, #d8e9fbcc 0, transparent 38%),
        #f5f8fc;
}

#Contacto::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#3f71ae0a 1px, transparent 1px),
        linear-gradient(90deg, #3f71ae0a 1px, transparent 1px);
    background-size: 46px 46px;
    content: "";
    mask-image: linear-gradient(90deg, #000 0%, transparent 85%);
    pointer-events: none;
}

.contacto-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 7vw, 96px);
    width: min(1120px, 100%);
    box-sizing: border-box;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid #3f71ae24;
    border-radius: 26px;
    background: linear-gradient(135deg, #ffffffed, #f7faff 60%, #ffffffed);
    box-shadow: 0 28px 80px #203b5c14, inset 0 1px #fff;
}

.contacto-panel::before {
    position: absolute;
    top: -180px;
    left: -150px;
    width: 400px;
    height: 400px;
    border: 1px solid #3f71ae20;
    border-radius: 50%;
    box-shadow: 0 0 0 32px #3f71ae08, 0 0 0 65px #3f71ae06;
    content: "";
    pointer-events: none;
}

.contacto-panel__intro {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contacto-panel__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: #3f71ae;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contacto-panel__status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3f9a80;
    box-shadow: 0 0 0 4px #3f9a801a;
}

.contacto-panel__intro h2 {
    max-width: 470px;
    margin: 0;
    color: #172538;
    font-size: clamp(38px, 4.4vw, 58px);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.contacto-panel__intro h2 span {
    display: block;
    color: #3f71ae;
}

.contacto-panel__description {
    max-width: 410px;
    margin: 20px 0 0;
    color: #65758a;
    font-size: 15px;
    line-height: 1.75;
}

.contacto-panel__email {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
    color: #172538;
}

.contacto-panel__email-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #3f71ae24;
    border-radius: 13px;
    background: #3f71ae0a;
    color: #3f71ae;
    font-size: 20px;
}

.contacto-panel__email small,
.contacto-panel__email strong {
    display: block;
}

.contacto-panel__email small {
    margin-bottom: 4px;
    color: #7a899b;
    font-size: 11px;
}

.contacto-panel__email strong {
    font-size: 14px;
    font-weight: 500;
}

.contacto-panel__signal {
    display: flex;
    height: 36px;
    align-items: center;
    gap: 4px;
    margin-top: 42px;
    color: #8193a8;
}

.contacto-panel__signal > span {
    width: 3px;
    height: 10px;
    border-radius: 9px;
    background: #3f71ae;
    opacity: .75;
}

.contacto-panel__signal > span:nth-child(2),
.contacto-panel__signal > span:nth-child(4) {
    height: 18px;
    opacity: .9;
}

.contacto-panel__signal > span:nth-child(3) {
    height: 27px;
}

.contacto-panel__signal small {
    margin-left: 10px;
    font-size: 9px;
    letter-spacing: .16em;
}

.formulario.contacto-form {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: clamp(22px, 3.4vw, 38px);
    border: 1px solid #3f71ae1c;
    border-radius: 20px;
    background: linear-gradient(150deg, #fff, #f8fbff);
    box-shadow: 0 18px 44px #203b5c12, inset 0 1px #fff;
}

.contacto-form__heading > span {
    color: #3f71ae;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
}

.contacto-form__heading h3 {
    margin: 10px 0 0;
    color: #172538;
    font-size: clamp(21px, 2.3vw, 27px);
    font-weight: 500;
    letter-spacing: -.03em;
}

.contacto-form__heading p {
    margin: 8px 0 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.6;
}

.contacto-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
}

.contacto-form__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.contacto-form__field--full {
    grid-column: 1 / -1;
}

.contacto-form__field label {
    color: #27384e;
    font-size: 12px;
    font-weight: 500;
}

.contacto-form__field label span {
    color: #8391a3;
    font-weight: 400;
}

.contacto-form__field input,
.contacto-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #3f71ae2b;
    border-radius: 10px;
    background: #fff;
    color: #172538;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.contacto-form__field input {
    min-height: 44px;
    padding: 10px 13px;
}

.contacto-form__field textarea {
    min-height: 94px;
    padding: 12px 13px;
    resize: vertical;
}

.contacto-form__field input::placeholder,
.contacto-form__field textarea::placeholder {
    color: #8b98a8;
}

.contacto-form__field input:focus,
.contacto-form__field textarea:focus {
    outline: none;
    border-color: #73b6ff;
    background: #fff;
    box-shadow: 0 0 0 3px #4a9cf326;
}

.contacto-form__submit {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    border: 1px solid #80baff60;
    border-radius: 10px;
    background: linear-gradient(100deg, #347bd0, #2869bd);
    box-shadow: 0 8px 24px #347bd033;
    color: #fff;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.contacto-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px #347bd04d;
}

.contacto-form__submit:focus-visible,
.contacto-panel__email:focus-visible {
    outline: 2px solid #91c7ff;
    outline-offset: 4px;
}

.contacto-form__submit span {
    font-size: 19px;
}

.contacto-form__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: -10px 0 0;
    color: #7a899b;
    font-size: 11px;
}

.contacto-form__note span {
    color: #3f71ae;
    font-size: 17px;
}

@media (max-width: 820px) {
    #Contacto {
        padding: 64px 22px;
    }

    .contacto-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        max-width: 620px;
        padding: clamp(24px, 5vw, 42px);
    }

    .contacto-panel__intro h2 {
        max-width: 540px;
    }

    .contacto-panel__signal {
        display: none;
    }
}

@media (max-width: 480px) {
    #Contacto {
        padding: 48px 16px;
    }

    .contacto-panel {
        gap: 26px;
        padding: 22px 16px;
        border-radius: 20px;
    }

    .contacto-panel__intro h2 {
        font-size: clamp(36px, 10vw, 46px);
    }

    .contacto-panel__description {
        margin-top: 14px;
        font-size: 14px;
    }

    .contacto-panel__email {
        margin-top: 20px;
    }

    .formulario.contacto-form {
        gap: 18px;
        padding: 20px 16px;
    }

    .contacto-form__fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .contacto-form__field--full {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contacto-form__field input,
    .contacto-form__field textarea,
    .contacto-form__submit {
        transition: none;
    }

    .contacto-form__submit:hover {
        transform: none;
    }
}


/* ------- ESTILOS DEL FOOTER ------- */


.site-footer {
    padding: 52px 30px 22px;
    border-top: 1px solid #e7edf4;
    background:
        radial-gradient(ellipse at 10% 0%, #eaf2fc 0, transparent 42%),
        #fff;
}

.site-footer__main,
.site-footer__bottom {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(140px, .7fr) minmax(190px, .8fr);
    gap: clamp(28px, 6vw, 80px);
    padding-bottom: 38px;
}

.site-footer__brand {
    display: flex;
    width: fit-content;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__brand img {
    width: 120px;
    height: auto;
    transition: opacity 200ms ease;
}

.site-footer__brand:hover img {
    opacity: .78;
}

.site-footer__brand > span {
    max-width: 260px;
    margin-top: 14px;
    color: #718096;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer__nav,
.site-footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__nav > p,
.site-footer__social > p {
    margin: 0 0 15px;
    color: #1c1c1c;
    font-size: 14px;
    font-weight: 600;
}

.site-footer__social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.site-footer__nav > a {
    margin-top: 9px;
    color: #718096;
    font-size: 13px;
    transition: color 200ms ease, transform 200ms ease;
}

.site-footer__nav > a:hover {
    transform: translateX(3px);
    color: #3f71ae;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid #3f71ae20;
    border-radius: 11px;
    background: #f7faff;
    color: #34465b;
    font-size: 13px;
    transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.site-footer__social-link:hover {
    transform: translateY(-2px);
    border-color: #3f71ae55;
    background: #eef5ff;
}

.site-footer__social-link img {
    object-fit: contain;
}

.site-footer__external {
    color: #3f71ae;
}

.site-footer__signature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #7f8da0;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
}

.site-footer__signature i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #3f71ae;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid #e8eef5;
}

.site-footer__bottom p,
.site-footer__bottom a {
    margin: 0;
    color: #8491a1;
    font-size: 11px;
}

.site-footer__bottom a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3f71ae;
    transition: color 200ms ease;
}

.site-footer__bottom a:hover {
    color: #244d7c;
}

.site-footer__brand:focus-visible,
.site-footer__nav a:focus-visible,
.site-footer__social-link:focus-visible,
.site-footer__bottom a:focus-visible {
    outline: 2px solid #3f71ae;
    outline-offset: 4px;
    border-radius: 3px;
}

@media (max-width: 700px) {
    .site-footer {
        padding: 40px 22px 18px;
    }

    .site-footer__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px 24px;
        padding-bottom: 28px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .site-footer {
        padding: 34px 18px 16px;
    }

    .site-footer__main {
        gap: 28px 16px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__brand img,
    .site-footer__nav > a,
    .site-footer__social-link,
    .site-footer__bottom a {
        transition: none;
    }

    .site-footer__nav > a:hover,
    .site-footer__social-link:hover {
        transform: none;
    }
}