﻿/* ============================================================
   MyS TE PRESTA
   Diseño general premium
============================================================ */

:root {
    --bg: #050a12;
    --bg-soft: #08111f;
    --bg-card: #0b1626;
    --surface: rgba(13, 27, 46, 0.82);
    --surface-strong: #0d1b2e;
    --border: rgba(125, 157, 199, 0.17);
    --border-hover: rgba(125, 174, 235, 0.38);
    --text: #f7f9fc;
    --text-soft: #a9b7ca;
    --text-muted: #78889e;
    --red: #d51e2b;
    --red-dark: #97111a;
    --red-light: #ff5862;
    --blue: #246dcc;
    --blue-light: #55a1ff;
    --success: #27c982;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.25);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
}


/* ============================================================
   RESET
============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: radial-gradient( circle at 8% 0%, rgba(213, 30, 43, 0.10), transparent 25% ), radial-gradient( circle at 92% 8%, rgba(36, 109, 204, 0.11), transparent 28% ), var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: -1;
        opacity: 0.20;
        background-image: linear-gradient( rgba(255, 255, 255, 0.018) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px );
        background-size: 46px 46px;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(1200px, 92%);
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   NAVBAR
============================================================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(5, 10, 18, 0.82);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.nav-in {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 220px;
}

.brand-logo {
    width: 58px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

    .brand-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

    .brand-copy strong {
        font-family: "Montserrat", sans-serif;
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .brand-copy small {
        margin-top: 5px;
        color: var(--text-muted);
        font-size: 0.68rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

.links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

    .links a {
        position: relative;
        padding: 29px 0;
        color: #c5cfdd;
        font-size: 0.91rem;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .links a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 20px;
            height: 2px;
            transform: scaleX(0);
            border-radius: 10px;
            background: linear-gradient( 90deg, var(--red), var(--blue) );
            transition: transform 0.22s ease;
        }

        .links a:hover {
            color: #ffffff;
        }

            .links a:hover::after {
                transform: scaleX(1);
            }

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 220px;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 10, 18, 0.97);
}

    .mobile-menu.active {
        display: block;
    }

.mobile-menu-inner {
    padding-top: 14px;
    padding-bottom: 18px;
    display: flex;
    flex-direction: column;
}

    .mobile-menu-inner a {
        padding: 14px 0;
        color: #d4dce8;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }


/* ============================================================
   BOTONES
============================================================ */

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 700;
    font-size: 0.91rem;
    cursor: pointer;
    transition: transform 0.20s ease, box-shadow 0.20s ease, border-color 0.20s ease, background 0.20s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--red-light), var(--red), var(--red-dark) );
    box-shadow: 0 14px 35px rgba(213, 30, 43, 0.25);
}

    .btn-primary:hover {
        box-shadow: 0 18px 42px rgba(213, 30, 43, 0.34);
    }

.btn-outline {
    color: #edf4ff;
    border-color: rgba(147, 178, 218, 0.22);
    background: rgba(255, 255, 255, 0.035);
}

    .btn-outline:hover {
        border-color: rgba(85, 161, 255, 0.50);
        background: rgba(85, 161, 255, 0.08);
    }

.btn-nav {
    min-height: 43px;
    padding: 9px 16px;
    font-size: 0.82rem;
}

.register {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--red), #a9131d );
    box-shadow: 0 12px 30px rgba(213, 30, 43, 0.20);
}

.login {
    background: rgba(255, 255, 255, 0.025);
}

.credit-actions,
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}


/* ============================================================
   HERO PRINCIPAL
============================================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 95px;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 580px;
        height: 580px;
        top: -270px;
        left: -220px;
        border-radius: 50%;
        background: rgba(213, 30, 43, 0.12);
        filter: blur(90px);
        pointer-events: none;
    }

    .hero::after {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        right: -260px;
        top: -210px;
        border-radius: 50%;
        background: rgba(36, 109, 204, 0.13);
        filter: blur(100px);
        pointer-events: none;
    }

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
    align-items: center;
    gap: 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff737b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

    .eyebrow::before {
        content: "";
        width: 24px;
        height: 2px;
        border-radius: 10px;
        background: linear-gradient( 90deg, var(--red), var(--red-light) );
    }

h1,
h2,
h3,
h4 {
    font-family: "Montserrat", "Inter", sans-serif;
}

h1 {
    margin: 18px 0 22px;
    font-size: clamp( 3.2rem, 6vw, 5.8rem );
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

    h1 span {
        background: linear-gradient( 90deg, #ff4f59 0%, #ffffff 48%, #55a1ff 100% );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.lead {
    max-width: 720px;
    color: var(--text-soft);
    font-size: 1.12rem;
    line-height: 1.78;
}

.hero-actions {
    margin-top: 31px;
}


/* ============================================================
   LOGO PRINCIPAL
============================================================ */

.logo-stage {
    position: relative;
    padding: 24px;
}

    .logo-stage::before {
        content: "";
        position: absolute;
        inset: 10%;
        border-radius: 50%;
        background: linear-gradient( 135deg, rgba(213, 30, 43, 0.22), rgba(36, 109, 204, 0.22) );
        filter: blur(65px);
    }

    .logo-stage::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 34px;
        background: linear-gradient( 145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) );
        pointer-events: none;
    }

    .logo-stage img {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        border-radius: 26px;
        box-shadow: 0 35px 90px rgba(0, 0, 0, 0.46);
        border: 1px solid rgba(255, 255, 255, 0.11);
    }


/* ============================================================
   SECCIONES
============================================================ */

.section {
    position: relative;
    padding: 94px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-title {
    margin: 9px 0 12px;
    font-size: clamp( 2rem, 4vw, 3rem );
    letter-spacing: -0.035em;
}

.section-sub {
    max-width: 760px;
    color: var(--text-soft);
    line-height: 1.75;
    font-size: 1rem;
}


/* ============================================================
   NEGOCIOS
============================================================ */

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.business {
    position: relative;
    min-height: 330px;
    padding: 31px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient( 145deg, rgba(16, 31, 52, 0.92), rgba(6, 15, 26, 0.94) );
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .business::before {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        right: -90px;
        top: -90px;
        border-radius: 50%;
        background: rgba(50, 124, 220, 0.10);
        filter: blur(15px);
        transition: transform 0.3s ease;
    }

    .business:nth-child(1)::before {
        background: rgba(213, 30, 43, 0.12);
    }

    .business:nth-child(3)::before {
        background: rgba(36, 109, 204, 0.15);
    }

    .business:hover {
        transform: translateY(-8px);
        border-color: var(--border-hover);
        box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
    }

        .business:hover::before {
            transform: scale(1.25);
        }

.ico {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient( 145deg, #172b47, #0d1b2e );
    font-size: 1.65rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.business h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 13px;
    font-size: 1.23rem;
}

.business p {
    position: relative;
    z-index: 2;
    flex: 1;
    margin: 0;
    color: var(--text-soft);
    line-height: 1.72;
    font-size: 0.94rem;
}

.go {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
}

    .go span:last-child {
        width: 35px;
        height: 35px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        transition: transform 0.2s ease, background 0.2s ease;
    }

.business:hover .go span:last-child {
    transform: translateX(4px);
    background: rgba(213, 30, 43, 0.18);
}


/* ============================================================
   BAND / NOSOTROS
============================================================ */

.band {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient( 120deg, rgba(151, 17, 26, 0.16), rgba(5, 10, 18, 0.60) 45%, rgba(23, 84, 163, 0.14) );
}

.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.info-card {
    position: relative;
    padding: 29px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient( 145deg, rgba(16, 31, 52, 0.82), rgba(7, 16, 27, 0.90) );
    box-shadow: var(--shadow-card);
}

    .info-card h3 {
        margin: 0 0 11px;
        font-size: 1.12rem;
    }

    .info-card p {
        margin: 0;
        color: var(--text-soft);
        line-height: 1.72;
    }


/* ============================================================
   HERO DE PÁGINAS INTERNAS
============================================================ */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient( circle at 15% 10%, rgba(213, 30, 43, 0.12), transparent 34% ), radial-gradient( circle at 90% 0%, rgba(36, 109, 204, 0.12), transparent 30% );
}

    .page-hero h1 {
        max-width: 880px;
        margin: 16px 0 18px;
        font-size: clamp( 2.8rem, 5vw, 4.8rem );
        line-height: 1.02;
    }


/* ============================================================
   SERVICE FEATURES
============================================================ */

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient( 135deg, rgba(213, 30, 43, 0.90), rgba(36, 109, 204, 0.80) );
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
}


/* ============================================================
   CTA
============================================================ */

.cta-section {
    padding: 40px 0 95px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 28px;
    background: linear-gradient( 120deg, rgba(168, 20, 30, 0.34), rgba(10, 24, 42, 0.94) 48%, rgba(25, 88, 170, 0.28) );
    box-shadow: var(--shadow);
}

    .cta-card::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        right: -100px;
        top: -120px;
        border-radius: 50%;
        background: rgba(85, 161, 255, 0.13);
        filter: blur(30px);
    }

    .cta-card h2 {
        margin: 0 0 9px;
        font-size: clamp( 1.7rem, 3vw, 2.5rem );
    }

    .cta-card p {
        max-width: 650px;
        margin: 0;
        color: #bdc9d9;
        line-height: 1.7;
    }


/* ============================================================
   FORMULARIOS GENERALES
============================================================ */

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid rgba(133, 159, 193, 0.22);
    border-radius: 12px;
    outline: none;
    background: rgba(6, 15, 26, 0.75);
    color: #f4f7fb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
    min-height: 105px;
    resize: vertical;
}

    .form-control:focus,
    .form-select:focus,
    input:focus,
    textarea:focus,
    select:focus {
        border-color: rgba(85, 161, 255, 0.70);
        box-shadow: 0 0 0 3px rgba(36, 109, 204, 0.12);
        background: rgba(8, 20, 35, 0.96);
    }

label {
    color: #d9e1ec;
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    margin-top: 0;
    padding: 66px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #04080f;
    color: var(--text-soft);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 42px;
    padding-bottom: 45px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

    .footer-brand img {
        width: 76px;
        height: 59px;
        object-fit: cover;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footer-brand h3 {
        margin: 3px 0 9px;
        color: #ffffff;
        font-size: 1rem;
    }

    .footer-brand p {
        max-width: 340px;
        margin: 0;
        color: var(--text-muted);
        font-size: 0.86rem;
        line-height: 1.7;
    }

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    .footer-column h4 {
        margin: 0 0 8px;
        color: #ffffff;
        font-size: 0.85rem;
    }

    .footer-column a {
        color: var(--text-muted);
        font-size: 0.85rem;
        transition: color 0.2s ease, transform 0.2s ease;
    }

        .footer-column a:hover {
            color: #ffffff;
            transform: translateX(3px);
        }

.footer-bottom {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #6f8097;
    font-size: 0.78rem;
}

.footer-system {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1050px) {

    .links {
        gap: 19px;
    }

    .hero-grid {
        gap: 45px;
        grid-template-columns: 1fr 0.9fr;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 2 / 4;
    }
}


@media (max-width: 900px) {

    .nav-in {
        min-height: 72px;
    }

    .links {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .hero {
        padding: 75px 0 65px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .logo-stage {
        max-width: 620px;
        margin: auto;
    }

    .grid3 {
        grid-template-columns: 1fr;
    }

    .business {
        min-height: auto;
    }

    .two {
        grid-template-columns: 1fr;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / 3;
    }

    .footer-column:last-child {
        grid-column: auto;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 32px, 1200px);
    }

    .brand-logo {
        width: 51px;
        height: 42px;
    }

    .brand-copy strong {
        font-size: 0.92rem;
    }

    .brand-copy small {
        display: none;
    }

    h1 {
        font-size: clamp( 2.65rem, 14vw, 4rem );
    }

    .lead {
        font-size: 1rem;
    }

    .section {
        padding: 70px 0;
    }

    .page-hero {
        padding: 70px 0 55px;
    }

    .hero-actions,
    .credit-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .hero-actions .btn,
        .credit-actions .btn {
            width: 100%;
        }

    .business,
    .info-card {
        padding: 24px;
    }

    .cta-card {
        padding: 28px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
