#progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ocean-cyan);
    z-index: 9999;
    transform-origin: 0 50%;
    animation: growProgress linear;
    animation-timeline: scroll();
}

@keyframes growProgress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    height: 4.3rem;
    background: var(--surface-2);
    padding: .9rem 1rem;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;

    background: #0b0720; 
}

.name-and-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
}

.fa-code {
    font-size: 1.5rem;
}

.name-and-logo > p {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    color: var(--text);
}

.name-and-logo > p > span + span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.socialmedia {
    margin-right: 3rem;
}

.social-link {
    font-size: 25px;
    text-decoration: none;
}

.social-ig {
    color:#d62976; 
}

.social-tiktok {
    color: #fff
}

.social-whatsapp {
    color: #3d9f12;
}

.links {
    display: flex;
    gap: 1.5rem;
}

.section-link:visited {
    color: var(--text)
}

.section-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
    transition: ease .3s;
}

.section-link:hover {
    color: var(--text-muted);
}

.lang-toggle {
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
}

.lang-toggle i {
    margin-right: 0.25rem;
    font-size: 0.85em;
}

.lang-toggle-mobile {
    display: none;
}

.hero {
    height: 50rem;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 35rem 25rem;
}

.welcome-text {
    grid-column: 1;
    grid-row: 1;

    margin: 13rem 0 5rem 5rem;
    text-align: left;
    width: 30rem;
    justify-self: right;
    margin-right: 3rem;
    font-size: 2rem;
}

.hero-title{
    display: flex;
    flex-direction: column;
}

.hero-title::after {
    content: "";
    top: 150px;
    left: 150px;
    background-color: var(--ocean-cyan);
    border-radius: 999px;
    position: absolute;
    z-index: -1;
    height: 200px;
    width: 200px; 
    filter: blur(100px);
}

.title-pt1 {
    display: inline;
    margin: 0;
}

.title-pt2{
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 100;
    display: inline;
    margin: 0;
}

.hero-subtitle {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 200;
}

.buttons-to-action {
    grid-column: 2;
    grid-row: 1;
    width: 30rem;
    justify-self: left;

    display: flex;
    flex-direction: column;
    gap: 0.85rem;

    margin-top: 14rem;
    margin-left: 3rem;
}

.goto-btn {
    position: relative;
    box-sizing: border-box;

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

    width: 100%;
    padding: 1.1rem 1.6rem;

    font-family: var(--font-main);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-align: left;

    color: var(--text);
    background: rgba(29, 55, 93, 0.35);
    background: color-mix(in srgb, var(--surface-1) 35%, transparent);
    border: 1px solid rgba(130, 221, 240, 0.18);
    border-radius: 14px;

    cursor: pointer;
    overflow: hidden;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

/* Flecha que aparece al hover en los botones secundarios */
.buttons-to-action .goto-btn:not(.conctact-tn)::after {
    content: "\2192";
    font-family: var(--font-main);
    font-size: 1.1em;
    line-height: 1;
    color: var(--text-acent-2);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.buttons-to-action .goto-btn:not(.conctact-tn):hover,
.buttons-to-action .goto-btn:not(.conctact-tn):focus-visible {
    background: rgba(29, 55, 93, 0.6);
    background: color-mix(in srgb, var(--surface-1) 60%, transparent);
    border-color: rgba(130, 221, 240, 0.55);
    box-shadow:
        0 0 0 1px rgba(130, 221, 240, 0.15),
        0 10px 30px rgba(0, 147, 223, 0.18);
    transform: translateY(-2px);
}

.buttons-to-action .goto-btn:not(.conctact-tn):hover::after,
.buttons-to-action .goto-btn:not(.conctact-tn):focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.goto-btn:active {
    transform: translateY(0);
}

/* CTA principal */
.conctact-tn {
    background: linear-gradient(120deg, var(--ocean-cyan), var(--text-acent-2));
    border-color: transparent;
    color: #06121f;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 147, 223, 0.35);
}

.conctact-tn:hover,
.conctact-tn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(0, 147, 223, 0.55);
}

.conctact-tn i {
    transition: transform 0.25s ease;
}

.conctact-tn:hover i,
.conctact-tn:focus-visible i {
    transform: translateX(4px);
}

.goto-btn:focus-visible {
    outline: none;
}

.cards-of-services {
    grid-column: 1/3;
    grid-row: 2;

    width: 100%;
    height: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    display: flex;
    gap: 3rem;
}

.service-mini-card {
    box-sizing: border-box;
    padding: 1rem 1.1rem;

    border: 1px solid rgba(130, 221, 240, 0.22);
    border-left: 3px solid var(--ocean-cyan);
    border-radius: 12px;
    background: rgba(29, 55, 93, 0.28);
    box-shadow: 0 8px 20px rgba(0, 147, 223, 0.08);

    height: fit-content;
    width: 30%;
}

.service-mini-card > p {
    font-size: 0.8rem;
}