/* =========================
   GLOBAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0B0F19;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

main {
    overflow: hidden;
}

.text-secondary {
    color: #9CA3AF !important;
}


/* =========================
   NAVBAR
========================= */

.custom-navbar {
    background-color: #0B0F19 !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
    padding: 14px 0;
}

.navbar-brand {
    color: #FFFFFF !important;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.custom-navbar .nav-link {
    color: rgba(255,255,255,.75) !important;
    margin-left: 18px;
    font-weight: 500;
    transition: color .25s ease;
}

.custom-navbar .nav-link:hover {
    color: #3B82F6 !important;
}

.custom-navbar .navbar-toggler {
    border-color: rgba(255,255,255,.15);
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: none;
}


/* =========================
   HERO HOME
========================= */

.hero-section {
    min-height: 100vh;
    padding: 140px 0 100px;
    position: relative;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(59,130,246,.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 5% 80%,
            rgba(37,99,235,.09),
            transparent 30%
        );
}

.hero-section::after {
    content: "";
    position: absolute;
    right: 7%;
    top: 28%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(59,130,246,.08);
    filter: blur(90px);
    pointer-events: none;
}

.hero-brand {
    letter-spacing: 4px;
}

.hero-title {
    position: relative;
    z-index: 1;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: .98;
    max-width: 1000px;
}

.hero-text {
    position: relative;
    z-index: 1;
    color: #B6BFCD;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 720px;
}

.hero-section .btn {
    position: relative;
    z-index: 1;
}


/* =========================
   SECCIONES
========================= */

.section-block {
    padding: 110px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 750;
    letter-spacing: -1px;
}

.section-text {
    color: #AEB7C5;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 760px;
}


/* =========================
   EFECTO SCROLL
========================= */

.scroll-section {
    opacity: .42;
    transform: translateY(28px);

    transition:
        opacity .65s ease,
        transform .65s ease;
}

.scroll-section.section-active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   CARDS
========================= */

.info-card,
.service-item,
.contact-card,
.product-showcase,
.process-card {
    background-color: #111827;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
}

.info-card,
.service-item,
.process-card {
    transition:
        transform .25s ease,
        border-color .25s ease;
}

.info-card:hover,
.service-item:hover,
.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59,130,246,.45);
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(59,130,246,.12);
    color: #3B82F6;
    font-size: 1.5rem;
}


/* =========================
   PROCESO
========================= */

.process-number {
    color: #3B82F6;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.product-soft-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(17,24,39,.42),
            transparent
        );
}


/* =========================
   PROYECTOS HOME
========================= */

.projects-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(17,24,39,.55),
            transparent
        );
}

.product-showcase {
    padding: clamp(25px, 4vw, 55px);
}

.product-list li {
    color: #C6CED9;
    margin-bottom: 10px;
}

.home-app-preview {
    display: inline-block;

    padding: 10px;

    background-color: #0B0F19;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    box-shadow: 0 25px 55px rgba(0,0,0,.35);
}

.home-app-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.home-foodops-preview {
    width: 100%;
    max-width: 330px;
}

.home-avisapp-preview {
    width: 100%;
    max-width: 220px;
}


/* =========================
   CONTACTO
========================= */

.contact-card {
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 16px 18px;

    color: #FFFFFF;
    text-decoration: none;

    background-color: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;

    transition: border-color .25s ease;
}

.contact-link:hover {
    color: #FFFFFF;
    border-color: rgba(59,130,246,.5);
}

.contact-link i {
    font-size: 1.35rem;
    color: #3B82F6;
}

.contact-link span {
    display: flex;
    flex-direction: column;
}

.contact-link small {
    color: #8993A2;
}


/* =========================
   PAGINAS PRODUCTO
========================= */

.product-page-hero {
    padding: 150px 0 130px;

    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(59,130,246,.13),
            transparent 30%
        );
}

.product-details-section {
    padding: 130px 0;

    border-top: 1px solid rgba(255,255,255,.04);

    background:
        linear-gradient(
            180deg,
            rgba(17,24,39,.35),
            transparent 45%
        );
}


/* =========================
   PREVIEW PRODUCTOS
========================= */

.app-preview {
    display: inline-block;

    background-color: #111827;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    padding: 10px;

    box-shadow: 0 25px 55px rgba(0,0,0,.35);
}

.app-preview-image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 13px;
}

.app-preview-web {
    width: 100%;
    max-width: 350px;
}

.app-preview-mobile {
    width: 100%;
    max-width: 245px;
}


/* =========================
   VOLVER
========================= */

.back-link {
    color: #AEB7C5;
    text-decoration: none;
    transition: color .2s ease;
}

.back-link:hover {
    color: #FFFFFF;
}


/* =========================
   FOOTER
========================= */

.footer-section {
    background-color: #080B12;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 65px 0;
}

.footer-text {
    color: #8993A2;
}

.footer-copy {
    color: #6F7886;
    font-size: .9rem;
}

.footer-link {
    color: #AEB7C5;
    text-decoration: none;
}

.footer-link:hover {
    color: #FFFFFF;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {

    .custom-navbar .navbar-collapse {
        background-color: #0B0F19;
        padding: 20px 0;
    }

    .custom-navbar .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-section {
        min-height: 85vh;
    }

    .section-block {
        padding: 80px 0;
    }

    .product-page-hero {
        padding-top: 125px;
        padding-bottom: 110px;
    }

    .product-details-section {
        padding: 100px 0;
    }

    .app-preview {
        margin-top: 25px;
    }

    .app-preview-web {
        max-width: 320px;
    }

    .app-preview-mobile {
        max-width: 220px;
    }

    .home-foodops-preview {
        max-width: 300px;
    }

    .home-avisapp-preview {
        max-width: 205px;
    }
}


/* =========================
   MOVIL
========================= */

@media (max-width: 575.98px) {

    .hero-section {
        min-height: 90vh;
        padding-top: 125px;
        padding-bottom: 75px;
    }

    .hero-title {
        letter-spacing: -2px;
    }

    .product-showcase {
        padding: 22px;
    }

    .contact-card {
        padding: 28px !important;
    }

    .product-page-hero {
        padding-top: 110px;
        padding-bottom: 90px;
    }

    .product-details-section {
        padding: 80px 0;
    }

    .app-preview {
        padding: 8px;
        border-radius: 17px;
    }

    .app-preview-image {
        border-radius: 10px;
    }

    .app-preview-web {
        max-width: 280px;
    }

    .app-preview-mobile {
        max-width: 190px;
    }

    .home-foodops-preview {
        max-width: 270px;
    }

    .home-avisapp-preview {
        max-width: 185px;
    }
}


/* =========================
   ACCESIBILIDAD
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .scroll-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}