/* ============================================
   LVWebStudio - Stylesheet
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --primary-light: #33ddff;
    --secondary-color: #00ff88;
    --gradient-start: #00ff88;
    --gradient-end: #00d4ff;
    --bg-dark: #0a0e27;
    --bg-darker: #050815;
    --bg-card: #111827;
    --text-dark: #1f2937;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    --text-gray: #d1d5db;
    --bg-light: #1a1f3a;
    --bg-white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 8px 24px rgba(0, 212, 255, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Espaciado y tipografía (sin cambiar colores) */
    --space-section: clamp(4.5rem, 9vw, 7.5rem);
    --text-display: clamp(2.25rem, 5.5vw, 3.75rem);
    --radius-card: 14px;
    --radius-pill: 999px;
    --container-max: 1200px;
    --header-h: 72px;
    --offer-bar-h: 0px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-white);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body.menu-open {
    overflow: hidden;
}

body.has-offer-bar {
    --offer-bar-h: 46px;
}

/* ============================================
   Offer bar (home)
   ============================================ */

.offer-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.95) 0%, rgba(0, 212, 255, 0.95) 100%);
    color: #050815;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.offer-bar[hidden] {
    display: none;
}

.offer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    flex-wrap: wrap;
    min-height: 0;
    padding: 0.55rem clamp(1rem, 4vw, 2rem);
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
}

.offer-bar-inner--fixed {
    padding-right: clamp(1rem, 4vw, 2rem);
}

.offer-bar-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    justify-content: center;
}

.offer-bar-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    background: rgba(5, 8, 21, 0.9);
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.offer-bar-msg strong {
    font-weight: 800;
}

.offer-bar-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: #050815;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-bar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(5, 8, 21, 0.35);
    color: #fff;
}

body.has-offer-bar .header {
    top: var(--offer-bar-h);
}

.offer-bar-cta-short {
    display: none;
}

@media (max-width: 640px) {
    body.has-offer-bar {
        --offer-bar-h: 52px;
    }

    .offer-bar-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.45rem 0.75rem;
    }

    .offer-bar-text {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        text-align: left;
        font-size: 0.72rem;
        line-height: 1.25;
        gap: 0.4rem;
        min-width: 0;
    }

    .offer-bar-badge {
        flex-shrink: 0;
        font-size: 0.62rem;
        padding: 0.15rem 0.45rem;
    }

    .offer-bar-msg {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .offer-bar-extra {
        display: none;
    }

    .offer-bar-cta {
        flex-shrink: 0;
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem;
    }

    .offer-bar-cta-full {
        display: none;
    }

    .offer-bar-cta-short {
        display: inline;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
    background-color: rgba(10, 14, 39, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.85rem 0;
    min-height: var(--header-h);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-icon {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span {
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link.btn-client-area {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--bg-dark);
    padding: 0.55rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
}

.nav-link.btn-client-area:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 255, 136, 0.25);
    color: var(--bg-dark);
}

.nav-link.btn-client-area::after {
    display: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: min(100vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--header-h) + var(--offer-bar-h));
    padding-bottom: 3rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 15% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 75%, rgba(0, 212, 255, 0.1) 0%, transparent 55%);
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--text-white);
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
    background-size: 200% auto;
}

.hero-title .blue-text {
    color: var(--primary-color);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    min-height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--bg-darker);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.2);
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 255, 136, 0.28);
    color: var(--bg-darker);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.45);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--text-white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 0;
    background: none;
    color: var(--primary-color);
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.35);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */

.about {
    background-color: var(--bg-darker);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-white);
    font-weight: 600;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 560px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

#animatedCanvas {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    border-radius: 20px;
    background: transparent;
}

.placeholder-content {
    text-align: center;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
}

.placeholder-content p {
    margin-top: 1rem;
    font-weight: 500;
}

/* ============================================
   Services Section
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: var(--transition);
    text-align: left;
    backdrop-filter: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 212, 255, 0.25);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 1.25rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.65rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   Portfolio Section
   ============================================ */

.portfolio {
    background-color: var(--bg-dark);
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 14, 39, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-3px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    border-radius: 50px;
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.portfolio-info p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.portfolio-see-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.75rem;
    padding-bottom: 0.25rem;
}

.portfolio-see-all-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.06);
    transition: var(--transition);
}

.portfolio-see-all-btn:hover {
    color: var(--text-white);
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.55);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

.portfolio-see-all-arrow {
    display: flex;
    color: var(--primary-color);
    animation: portfolio-arrow-bounce 1.4s ease-in-out infinite;
}

.portfolio-see-all-btn:hover .portfolio-see-all-arrow {
    color: var(--text-white);
}

@keyframes portfolio-arrow-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.portfolio-featured-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.35);
}

.portfolio-official-badge,
.portfolio-client-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    line-height: 1.3;
}

.portfolio-official-badge {
    background: rgba(0, 255, 136, 0.12);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 255, 136, 0.35);
}

.portfolio-client-badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-meta-type {
    font-size: 0.8rem !important;
    color: var(--primary-color) !important;
    font-weight: 500;
    margin-bottom: 0.4rem !important;
}

.portfolio-meta-block {
    margin-top: 0.75rem;
}

.portfolio-meta-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.portfolio-meta-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-gray);
    font-size: 0.82rem;
    line-height: 1.45;
}

.portfolio-meta-list li {
    margin-bottom: 0.15rem;
}

.portfolio-meta-link {
    margin-top: 0.85rem !important;
}

.portfolio-meta-link a {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.portfolio-item--official {
    border-color: rgba(0, 255, 136, 0.22);
}

.portfolio-block {
    margin-top: 2.75rem;
}

.portfolio .portfolio-block--home:first-of-type {
    margin-top: 0.75rem;
}

.portfolio .portfolio-block--home + .portfolio-block--home {
    margin-top: 2.75rem;
}

.portfolio-page .portfolio-block:first-of-type {
    margin-top: 1.25rem;
}

.portfolio-subtitle {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.45rem;
    letter-spacing: -0.02em;
}

.portfolio-subtitle--home {
    font-size: 1.3rem;
}

.portfolio-sublead {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 720px;
    margin-bottom: 1.35rem;
}

.portfolio-back-home {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.portfolio-back-home:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* ============================================
   Demos Section
   ============================================ */

.demos {
    background-color: var(--bg-darker);
    position: relative;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.demo-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 14, 39, 0.8) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.demo-card:hover::before {
    opacity: 1;
}

.demo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.demo-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.demo-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.demo-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.demo-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.demo-link:hover {
    color: var(--gradient-start);
    transform: translateX(5px);
}

/* ============================================
   Marketplace Section
   ============================================ */

.marketplace {
    background-color: var(--bg-dark);
    position: relative;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.marketplace-item {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 14, 39, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.marketplace-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.marketplace-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.marketplace-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
}

.marketplace-info {
    padding: 1.5rem;
}

.marketplace-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.marketplace-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-small {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-content-with-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.contact-info-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem 2.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.contact-info-top .contact-item {
    flex: 1 1 260px;
    max-width: 340px;
    min-width: 0;
    padding: 1.25rem 1.5rem;
    margin: 0;
    background: rgba(17, 24, 39, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-sizing: border-box;
}

.contact-email-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-email-link:hover {
    text-decoration: underline;
    color: var(--primary-light, #67e8f9);
}

.contact-form-panel-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-form-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.75) 0%, rgba(10, 14, 39, 0.75) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
}

.contact-form-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 0.5rem;
}

.contact-form-intro {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.contact-flash {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    box-sizing: border-box;
}

.contact-flash-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.contact-flash-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.contact-form .form-group label {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-select {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: rgba(17, 24, 39, 0.5);
    color: var(--text-white);
    cursor: pointer;
}

.contact-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.contact-captcha-box {
    margin-top: 0.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px dashed rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.05);
}

.contact-captcha-title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-captcha-help {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.contact-captcha-code {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.35rem 0.65rem;
    font-family: ui-monospace, monospace;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit-btn {
    margin-top: 0.5rem;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 0.35rem;
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.45;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
    background-color: rgba(17, 24, 39, 0.5);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
    background-color: rgba(17, 24, 39, 0.8);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h3 span {
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: calc(var(--header-h) + var(--offer-bar-h));
        flex-direction: column;
        background-color: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        max-height: calc(100vh - var(--header-h) - var(--offer-bar-h));
        overflow-y: auto;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 1rem 0 2rem;
        gap: 0;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
    }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0.75rem 1.5rem;
        width: 100%;
    }

    .nav-menu .nav-link.btn-client-area {
        width: auto;
        margin: 0.5rem auto;
        display: inline-flex;
    }

    .nav-link::after {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-top .contact-item {
        flex: 1 1 100%;
        max-width: none;
    }

    .contact-form-panel {
        padding: 1.5rem 1.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================
   Rediseño 2026 — layout y componentes
   ============================================ */

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.nav-link.active {
    color: var(--text-white);
}

.nav-link.active::after {
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
    animation: fadeInUp 0.8s ease-out;
}

.hero-brand {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
}

.hero-offer-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #050815;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 0 24px rgba(0, 255, 136, 0.25);
}

.hero-urgency {
    margin: -0.75rem 0 1.5rem;
    max-width: 32rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.01em;
}

.hero-title {
    font-size: var(--text-display);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 32rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-buttons {
    justify-content: flex-start;
    gap: 0.85rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.15s both;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 15%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.scroll-indicator {
    text-decoration: none;
    color: inherit;
    opacity: 0.55;
}

.trust-bar {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.trust-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    justify-content: center;
    align-items: center;
}

.trust-chip {
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
    border: none;
    border-radius: 0;
    background: none;
    position: relative;
}

.trust-chip:not(:last-child)::after {
    content: '';
    display: none;
}

.trust-chip::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 0.55rem;
    border-radius: 50%;
    background: var(--secondary-color);
    vertical-align: middle;
    opacity: 0.8;
}

.section-block {
    padding: var(--space-section) 0;
    position: relative;
}

.section-block--alt {
    background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.35) 50%, transparent 100%);
}

.section-block--alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), transparent);
    opacity: 0.7;
}

.section-header--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    text-align: left;
    margin-bottom: 3rem;
}

.section-header--split .section-description {
    margin-left: 0;
    margin-right: 0;
}

.section-header--center {
    text-align: center;
}

.section-header-action {
    flex-shrink: 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.process-timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: process;
}

.process-step {
    padding: 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: none;
    background: rgba(17, 24, 39, 0.5);
}

.process-step-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.cta-banner {
    padding: var(--space-section) 0;
}

.cta-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 2.75rem);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    background: rgba(17, 24, 39, 0.65);
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.cta-banner p {
    color: var(--text-gray);
    max-width: 36rem;
}

.page-hero {
    padding: calc(var(--header-h) + var(--offer-bar-h) + 3rem) 0 3rem;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.06) 0%, transparent 100%);
}

.page-hero-content {
    max-width: 48rem;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0.75rem 0 1rem;
    letter-spacing: -0.02em;
}

.page-hero-lead {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 40rem;
}

.breadcrumbs {
    margin-bottom: 1.25rem;
}

.breadcrumbs-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.35rem;
    opacity: 0.5;
}

.breadcrumbs-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs-item a:hover {
    color: var(--primary-color);
}

.breadcrumbs-item.is-current span {
    color: var(--text-white);
}

.portfolio-filters {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.portfolio-filter-link {
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.portfolio-filter-link:hover {
    color: var(--text-white);
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.08);
}

.portfolio-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
}

.portfolio-page {
    padding-top: 0;
}

.contact-page {
    padding-top: 0;
    padding-bottom: var(--space-section);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 1rem 1.25rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-white);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 0.75rem;
    color: var(--text-gray);
    line-height: 1.65;
    font-size: 0.95rem;
}

.footer {
    background: linear-gradient(180deg, var(--bg-darker) 0%, #0a0e27 100%);
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact-list li {
    color: rgba(255, 255, 255, 0.7);
}

.service-card {
    border-radius: var(--radius-card);
}

@media (max-width: 968px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image {
        max-width: 240px;
    }

    .section-header--split {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        min-height: auto;
        order: -1;
    }

    .about-image img {
        max-width: 280px;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + var(--offer-bar-h) + 1.5rem);
        padding-bottom: 4rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .trust-chips {
        flex-direction: column;
        gap: 0.85rem;
        align-items: flex-start;
        padding: 0 0.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section-header-action .btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }
}

/* ============================================
   Redesign 2026 — motion & layout polish
   (mismos colores y logo)
   ============================================ */

:root {
    --font-display: 'Poppins', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --reveal-distance: 2.25rem;
}

h1, h2, h3,
.hero-title,
.section-title,
.page-hero-title,
.cta-banner h2,
.stat-number,
.logo-text {
    font-family: var(--font-display);
}

.header {
    background-color: rgba(10, 14, 39, 0.55);
    border-bottom-color: transparent;
    transition: background-color 0.35s var(--ease-out-expo),
                box-shadow 0.35s var(--ease-out-expo),
                border-color 0.35s ease;
}

.header.scrolled {
    background-color: rgba(5, 8, 21, 0.92);
    border-bottom-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.scroll-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    pointer-events: none;
}

.logo a:hover {
    transform: translateY(-1px);
}

.logo-icon {
    animation: logoPulse 4.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50% { filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.35)); }
}

.nav-link {
    transition: color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 5rem;
}

.hero-background::before {
    background-image:
        radial-gradient(ellipse at 12% 18%, rgba(0, 255, 136, 0.16) 0%, transparent 52%),
        radial-gradient(ellipse at 88% 72%, rgba(0, 212, 255, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 212, 255, 0.08) 0%, transparent 45%);
    animation: heroAmbient 12s ease-in-out infinite alternate;
}

@keyframes heroAmbient {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.06); }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 14s ease-in-out infinite;
}

.hero-orb--1 {
    width: min(42vw, 420px);
    height: min(42vw, 420px);
    top: 8%;
    left: -8%;
    background: rgba(0, 255, 136, 0.35);
}

.hero-orb--2 {
    width: min(36vw, 360px);
    height: min(36vw, 360px);
    right: -6%;
    bottom: 12%;
    background: rgba(0, 212, 255, 0.4);
    animation-delay: -4s;
    animation-duration: 18s;
}

.hero-orb--3 {
    width: min(28vw, 280px);
    height: min(28vw, 280px);
    top: 42%;
    left: 48%;
    background: rgba(0, 212, 255, 0.22);
    animation-delay: -8s;
    animation-duration: 16s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(24px, -30px) scale(1.08); }
    66% { transform: translate(-18px, 16px) scale(0.94); }
}

.hero-grid {
    background-size: 64px 64px;
    opacity: 0.45;
    animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(64px, 64px); }
}

.hero-content {
    animation: none;
}

.hero-brand {
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.85rem;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
    color: var(--primary-light);
    letter-spacing: 0.12em;
}

.hero-eyebrow::before {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    font-size: clamp(2.1rem, 4.8vw, 3.45rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.35rem;
}

.hero-title-static {
    display: block;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

.hero-title-dynamic {
    display: block;
    color: var(--text-white);
    font-weight: 600;
}

.typewriter {
    display: inline-flex;
    align-items: baseline;
    position: relative;
    min-width: 9.5ch;
    color: var(--primary-color);
    justify-content: flex-start;
}

.typewriter-text {
    color: var(--primary-color);
    background: none;
    -webkit-text-fill-color: var(--primary-color);
    background-clip: border-box;
    font-weight: 700;
    transition: opacity 0.25s ease;
}

.typewriter--simple .typewriter-text {
    animation: typewriterFade 0.35s ease;
}

.typewriter--simple .typewriter-cursor {
    display: none;
}

@keyframes typewriterFade {
    from { opacity: 0; transform: translateY(0.2em); }
    to { opacity: 1; transform: translateY(0); }
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    margin-left: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    vertical-align: -0.08em;
    animation: caretBlink 0.9s steps(1) infinite;
    flex-shrink: 0;
}

@keyframes caretBlink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-title-period {
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.12rem;
    max-width: 34rem;
    color: var(--text-gray);
    opacity: 0.95;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 14px 36px rgba(0, 255, 136, 0.32);
}

.hero-visual {
    --parallax-x: 0px;
    --parallax-y: 0px;
    position: relative;
    animation: none;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
    transition: transform 0.45s var(--ease-out-expo);
}

.hero-visual-ring {
    position: absolute;
    inset: -8%;
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 50%;
    animation: ringSpin 22s linear infinite;
    pointer-events: none;
}

.hero-visual-ring--2 {
    inset: -18%;
    border-color: rgba(0, 255, 136, 0.14);
    animation-direction: reverse;
    animation-duration: 30s;
    border-style: dashed;
}

@keyframes ringSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image {
    max-width: 420px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 212, 255, 0.08),
        0 0 80px rgba(0, 212, 255, 0.12);
    animation: heroFloat 6s ease-in-out infinite;
    background: rgba(17, 24, 39, 0.4);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.scroll-indicator {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.trust-bar {
    padding: 2rem 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.04), transparent);
}

.trust-chip {
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.trust-chip:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

.trust-chip::before {
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.55);
    animation: chipGlow 2.8s ease-in-out infinite;
}

@keyframes chipGlow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.25); }
}

.section-tag {
    position: relative;
    letter-spacing: 0.16em;
    transition: color 0.3s ease;
}

.section-title {
    letter-spacing: -0.03em;
}

.service-card {
    background: linear-gradient(165deg, rgba(17, 24, 39, 0.95), rgba(10, 14, 39, 0.85));
    transition: transform 0.45s var(--ease-out-expo),
                border-color 0.35s ease,
                box-shadow 0.45s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(0, 212, 255, 0.07) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-out-expo);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.08);
}

.service-card:hover::after {
    transform: translateX(120%);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    transition: transform 0.4s var(--ease-out-expo), background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(0, 255, 136, 0.12);
    color: var(--secondary-color);
}

.process-timeline {
    position: relative;
    gap: 1.25rem;
}

.process-step {
    background: rgba(17, 24, 39, 0.45);
    border-radius: 18px;
    transition: transform 0.45s var(--ease-out-expo),
                border-color 0.35s ease,
                background 0.35s ease,
                box-shadow 0.45s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.35);
    background: rgba(17, 24, 39, 0.85);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.process-step-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-image img {
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.45s ease;
    animation: heroFloat 7s ease-in-out infinite;
}

.about-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 212, 255, 0.12);
}

.stat-item {
    padding: 1rem 0.5rem;
    border-radius: 14px;
    transition: transform 0.35s var(--ease-out-expo), background 0.35s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(0, 212, 255, 0.06);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.85rem);
}

.portfolio-item,
.portfolio-card {
    transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease;
}

.portfolio-item:hover,
.portfolio-card:hover {
    transform: translateY(-6px);
}

.cta-banner-inner {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.92)) padding-box,
        linear-gradient(120deg, var(--gradient-start), var(--gradient-end), var(--gradient-start)) border-box;
    background-size: 100% 100%, 200% 200%;
    animation: ctaBorderShift 6s ease infinite;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 20% 40%, rgba(0, 255, 136, 0.12), transparent 45%),
                radial-gradient(circle at 80% 60%, rgba(0, 212, 255, 0.14), transparent 40%);
    animation: ctaGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.cta-banner-inner > * {
    position: relative;
    z-index: 1;
}

@keyframes ctaBorderShift {
    0%, 100% { background-position: 0 0, 0% 50%; }
    50% { background-position: 0 0, 100% 50%; }
}

@keyframes ctaGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(4%, -3%) rotate(8deg); }
}

.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

.footer a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer a:hover {
    color: var(--primary-light);
}

/* Scroll reveal system */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    filter: blur(4px);
    transition:
        opacity 0.8s var(--ease-out-expo),
        transform 0.8s var(--ease-out-expo),
        filter 0.8s ease;
    will-change: opacity, transform;
}

html.js [data-reveal="fade-left"] {
    transform: translateX(var(--reveal-distance));
}

html.js [data-reveal="fade-right"] {
    transform: translateX(calc(var(--reveal-distance) * -1));
}

html.js [data-reveal="scale-in"] {
    transform: scale(0.94) translateY(1rem);
}

html.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb,
    .hero-grid,
    .hero-visual-ring,
    .hero-image,
    .about-image img {
        animation: none !important;
    }

    .typewriter-cursor {
        animation: caretBlink 0.9s steps(1) infinite !important;
        animation-duration: 0.9s !important;
    }
}

@media (max-width: 968px) {
    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.6rem);
    }

    .hero-visual-ring,
    .hero-visual-ring--2 {
        inset: -6%;
    }

    .hero-visual-ring--2 {
        inset: -14%;
    }

    .typewriter {
        min-width: 8.5ch;
    }
}

@media (max-width: 640px) {
    .hero-title-dynamic {
        font-size: 0.98em;
    }

    .hero-orb {
        opacity: 0.28;
        filter: blur(48px);
    }

    .hero-urgency {
        font-size: 0.82rem;
    }
}

/* Páginas legales */
.legal-page {
    padding-top: 0;
}

.legal-content {
    max-width: 46rem;
    margin: 0 auto;
    color: var(--text-gray, #5a5a5a);
    line-height: 1.7;
    font-size: 1.02rem;
}

.legal-content h2 {
    margin: 2rem 0 0.75rem;
    color: var(--text-dark, #1a1a1a);
    font-size: 1.35rem;
    line-height: 1.3;
}

.legal-content h3 {
    margin: 1.35rem 0 0.5rem;
    color: var(--text-dark, #1a1a1a);
    font-size: 1.1rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin: 0 0 1rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.35rem;
}

.legal-content a {
    color: var(--primary, #2563eb);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content code {
    font-size: 0.92em;
    word-break: break-word;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--text-muted, #888);
    margin-bottom: 1.5rem !important;
}

.legal-note {
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
}

