.btn.instagram{
    background: #ffffff10;
    border: 2px solid transparent;
    background-image:
        linear-gradient(#ffffff10, #ffffff10),
        linear-gradient(
            45deg,
            #f09433,
            #e6683c,
            #dc2743,
            #cc2366,
            #bc1888
        );
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: white;
}

.btn.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(188, 24, 136, .35);
}

.portfolio-section {
    padding: 100px 8%;
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, .18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, .18), transparent 35%),
        #050816;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(139, 92, 246, .5);
    border-radius: 999px;
    color: #c4b5fd;
    background: rgba(139, 92, 246, .12);
    font-size: .85rem;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
}

.section-header p {
    color: #94a3b8;
    line-height: 1.7;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
    transition: .35s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, .65);
}

.portfolio-img {
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #312e81);
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.08);
}

.portfolio-content {
    padding: 26px;
}

.portfolio-content span {
    color: #8b5cf6;
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.portfolio-content h3 {
    color: #fff;
    font-size: 1.35rem;
    margin: 12px 0;
}

.portfolio-content p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.portfolio-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media(max-width:900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

:root {
    --bg: #050816;
    --bg-2: #0b1026;
    --panel: rgba(255, 255, 255, .07);
    --panel-2: rgba(255, 255, 255, .10);
    --text: #f8fbff;
    --muted: #aab6d3;
    --blue: #2f7cff;
    --cyan: #27d7ff;
    --violet: #8b5cf6;
    --pink: #d946ef;
    --line: rgba(255, 255, 255, .16);
    --shadow: 0 30px 80px rgba(0, 0, 0, .42);
    --radius: 28px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, system-ui, sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(47, 124, 255, .20), transparent 35%),
        radial-gradient(circle at 80% 15%, rgba(217, 70, 239, .18), transparent 30%),
        radial-gradient(circle at 45% 85%, rgba(39, 215, 255, .10), transparent 35%),
        var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(5, 8, 22, .72);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: .5px
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), var(--violet), var(--pink));
    box-shadow: 0 0 34px rgba(47, 124, 255, .55);
}

.brand span {
    font-size: 1.2rem
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    margin-top: 2px;
    letter-spacing: 1px
}

.links {
    display: flex;
    gap: 24px;
    align-items: center;
    color: var(--muted);
    font-weight: 600;
    font-size: .95rem
}

.links a:hover {
    color: white
}

.nav-cta {
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06)
}

.hero {
    padding: 90px 0 65px;
    position: relative
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 42px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #dfe8ff;
    font-weight: 700;
    margin-bottom: 22px
}

.eyebrow i {
    color: var(--cyan)
}

h1 {
    font-family: Playfair Display, serif;
    font-size: clamp(3.1rem, 8vw, 7.4rem);
    line-height: .9;
    letter-spacing: -3px;
    margin-bottom: 24px
}

.gradient {
    background: linear-gradient(90deg, #fff, var(--cyan), var(--violet), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 180%;
    animation: shine 5s linear infinite
}

@keyframes shine {
    to {
        background-position: 180%
    }
}

.hero p {
    font-size: 1.13rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 650px
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    padding: 15px 21px;
    font-weight: 800;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    transition: .25s ease;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18)
}

.btn:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .35)
}

.btn.primary {
    background: linear-gradient(135deg, var(--blue), var(--violet));
    border-color: transparent;
    box-shadow: 0 20px 55px rgba(47, 124, 255, .35)
}

.btn.whatsapp {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-color: transparent
}

.hero-card {
    position: relative;
    padding: 22px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden
}

.hero-card:before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle at 30% 10%, rgba(39, 215, 255, .25), transparent 30%), radial-gradient(circle at 80% 60%, rgba(139, 92, 246, .28), transparent 35%);
    pointer-events: none
}

.browser {
    position: relative;
    border-radius: 24px;
    background: #081126;
    border: 1px solid rgba(255, 255, 255, .16);
    overflow: hidden
}

.browser-top {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(255, 255, 255, .06);
    border-bottom: 1px solid var(--line)
}

.dots {
    display: flex;
    gap: 8px
}

.dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--blue)
}

.dots span:nth-child(2) {
    background: var(--violet)
}

.dots span:nth-child(3) {
    background: var(--cyan)
}

.browser-body {
    padding: 22px
}

.mock-hero {
    height: 190px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(47, 124, 255, .35), rgba(139, 92, 246, .26)), radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .24), transparent 20%);
    display: flex;
    align-items: end;
    padding: 22px;
    position: relative;
    overflow: hidden
}

.mock-hero:after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    right: -35px;
    top: -40px;
    box-shadow: 0 0 50px rgba(39, 215, 255, .35)
}

.mock-hero h3 {
    font-size: 2rem;
    max-width: 330px
}

.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px
}

.mock-card {
    min-height: 120px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--line);
    padding: 16px
}

.mock-line {
    height: 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .16);
    margin: 10px 0
}

.mock-line.short {
    width: 60%
}

.mock-chip {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 10px;
    background: rgba(47, 124, 255, .15);
    color: #cfe0ff;
    font-size: .8rem;
    font-weight: 800
}

.section {
    padding: 82px 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px
}

.kicker {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .82rem;
    margin-bottom: 12px
}

.section h2 {
    font-size: clamp(2rem, 4.2vw, 4rem);
    line-height: 1.02;
    letter-spacing: -2px
}

.section-head p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 470px
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.service {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    min-height: 270px;
    transition: .25s ease
}

.service:hover {
    transform: translateY(-6px);
    background: var(--panel-2)
}

.service i {
    font-size: 2.2rem;
    color: var(--cyan)
}

.service h3 {
    font-size: 1.35rem;
    margin: 18px 0 12px
}

.service p {
    color: var(--muted);
    line-height: 1.65
}

.service .number {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, .05)
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.step {
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px;
    position: relative
}

.step span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 22px
}

.step h3 {
    margin-bottom: 10px
}

.step p {
    color: var(--muted);
    line-height: 1.6;
    font-size: .95rem
}

.packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch
}

.package {
    padding: 30px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .07);
    position: relative;
    overflow: hidden
}

.package.featured {
    background: linear-gradient(180deg, rgba(47, 124, 255, .20), rgba(139, 92, 246, .12));
    box-shadow: 0 30px 80px rgba(47, 124, 255, .18);
    transform: scale(1.03)
}

.tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(39, 215, 255, .12);
    color: #c9f6ff;
    font-weight: 800;
    font-size: .82rem;
    margin-bottom: 18px
}

.package h3 {
    font-size: 1.55rem
}

.price {
    font-size: 2.4rem;
    font-weight: 900;
    margin: 14px 0
}

.price small {
    font-size: .88rem;
    color: var(--muted);
    font-weight: 600
}

.package ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 24px 0
}

.package li {
    display: flex;
    gap: 10px;
    color: #d9e4ff
}

.package li i {
    color: var(--cyan)
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px
}

.showcase {
    min-height: 390px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(47, 124, 255, .22), rgba(139, 92, 246, .18)), rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    padding: 26px;
    overflow: hidden;
    position: relative
}

.showcase h3 {
    font-size: 2rem;
    margin-bottom: 12px
}

.showcase p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 520px
}

.show-window {
    position: absolute;
    left: clamp(14px, 4vw, 26px);
    right: clamp(14px, 4vw, 26px);
    bottom: clamp(-18px, -4vw, -32px);
    min-height: 180px;
    height: auto;
    border-radius: clamp(18px, 5vw, 26px);
    border: 1px solid rgba(255, 255, 255, .18);
    background: #071127;
    box-shadow: 0 -20px 65px rgba(0, 0, 0, .28);
    padding: clamp(12px, 4vw, 18px);
    overflow: hidden;
}

@media (max-width: 768px) {
    .showcase {
        height: auto;
        min-height: auto;
        padding-bottom: 28px;
        overflow: visible;
    }

    .show-window {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 220px;
        margin-top: 28px;
        padding: 14px;
        border-radius: 24px;
    }

    .mini-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mini-card {
        min-height: 70px;
    }
       .mock-hero {
        height: 140px;
        padding: 18px;
    }

    .mock-hero h3 {
        font-size: 1.35rem;
        max-width: 180px;
        line-height: 1.15;
    }

    .mock-hero:after {
        width: 140px;
        height: 140px;
        right: -25px;
        top: -25px;
    }
}
.mini-nav {
    height: 35px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    margin-bottom: 14px
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px
}

.mini-card {
    height: 118px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1)
}

.portfolio-side {
    display: grid;
    gap: 18px
}

.metric {
    border-radius: 28px;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 26px
}

.metric strong {
    font-size: 2.4rem;
    display: block
}

.metric p {
    color: var(--muted);
    line-height: 1.6;
    margin-top: 6px
}

.faq {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 26px
}

.accordion {
    display: grid;
    gap: 12px
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden
}

.faq-q {
    width: 100%;
    padding: 20px;
    background: transparent;
    color: white;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-align: left
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: .28s ease;
    color: var(--muted);
    line-height: 1.7;
    padding: 0 20px
}

.faq-item.active .faq-a {
    max-height: 160px;
    padding: 0 20px 20px
}

.faq-item.active i {
    transform: rotate(45deg)
}

.final {
    padding: 75px 0 100px
}

.final-card {
    border-radius: 38px;
    background: linear-gradient(135deg, rgba(47, 124, 255, .28), rgba(139, 92, 246, .22)), rgba(255, 255, 255, .08);
    border: 1px solid var(--line);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden
}

.final-card h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 18px
}

.final-card p {
    color: #dce7ff;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 28px
}

.footer {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    color: var(--muted)
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

.footer b {
    color: white
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}


/* Botón hamburguesa / menú móvil */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .18), transparent 34%),
        linear-gradient(135deg, rgba(47, 124, 255, .22), rgba(180, 70, 255, .18));
    box-shadow: 0 12px 34px rgba(47, 124, 255, .20);
    cursor: pointer;
    position: relative;
    z-index: 80;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #fff;
    transition: transform .28s ease, opacity .2s ease, width .28s ease;
}

.nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

@media(max-width:950px) {

    .hero-grid,
    .faq,
    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .services,
    .packages,
    .process {
        grid-template-columns: 1fr 1fr
    }

    .menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .links {
        position: fixed;
        top: 88px;
        left: 50%;
        width: min(420px, 92%);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 24px;
        background:
            linear-gradient(180deg, rgba(10, 14, 35, .97), rgba(5, 8, 22, .94)),
            radial-gradient(circle at top right, rgba(180, 70, 255, .22), transparent 35%);
        box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
        backdrop-filter: blur(20px);
        color: #fff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -12px) scale(.96);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    }

    .nav.menu-open .links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
    }

    .links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .055);
        border: 1px solid rgba(255, 255, 255, .08);
    }

    .links a:hover {
        background: rgba(255, 255, 255, .10);
    }

    .links a:not(.nav-cta)::after {
        content: "↗";
        color: var(--muted);
        font-size: .9rem;
    }

    .links .nav-cta {
        justify-content: center;
        color: white;
        background: linear-gradient(135deg, var(--blue), var(--violet), var(--pink));
        box-shadow: 0 16px 38px rgba(47, 124, 255, .24);
    }

    .package.featured {
        transform: none
    }
}

@media(max-width:620px) {
    .hero {
        padding-top: 55px
    }

    h1 {
        letter-spacing: -1.5px
    }

    .services,
    .packages,
    .process,
    .mock-grid {
        grid-template-columns: 1fr
    }

    .section-head {
        display: block
    }

    .final-card {
        padding: 32px 22px
    }

    .cta .btn {
        width: 100%
    }

    .browser-body {
        padding: 14px
    }

    .mock-hero {
        height: 160px
    }

    .nav-inner {
        height: 70px
    }

    .links {
        top: 78px;
    }

    .brand span {
        font-size: 1rem;
    }

    .brand small {
        font-size: .65rem;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }
}

