﻿:root {
    --color-blue: #2563EB;
    --color-blue-light: #3B82F6;
    --color-blue-dark: #1D4ED8;
    --color-purple: #2563EB;
    --color-purple-light: #3B82F6;
    --color-purple-dark: #1D4ED8;
    --color-gray: #9CA3AF;
    --color-gray-light: #E5E7EB;
    --color-gray-dark: #4B5563;
    --color-white: #FFFFFF;
    --color-black: #0F0F10;
    --color-beige: #1E1E22;
    --color-accent: #22C55E;
    --color-mint: #2563EB;
    --color-mint-dark: #1D4ED8;
    --color-gradient-1: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    --color-gradient-2: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    --color-gradient-3: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    --color-gradient-mesh: linear-gradient(120deg, #2563EB 0%, #3B82F6 50%, #22C55E 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 12px rgba(37, 99, 235, 0.06);
    --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.1);
    --shadow-lg: 0 16px 48px rgba(37, 99, 235, 0.15);
    --shadow-xl: 0 24px 64px rgba(37, 99, 235, 0.2);
    --shadow-purple: 0 12px 48px rgba(37, 99, 235, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --backdrop-blur: blur(20px) saturate(180%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-white);
    background: #0F0F10;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body.loaded {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.custom-cursor {
    display: none;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-mint-dark);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-mint);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.custom-cursor.hover .cursor-dot {
    width: 50px;
    height: 50px;
    background: rgba(34, 197, 94, 0.3);
}

.custom-cursor.hover .cursor-outline {
    width: 50px;
    height: 50px;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    z-index: 1;
}



.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-header-text {
    flex: 1;
    min-width: 0;
}

.section-icon {
    width: 60px;
    height: 60px;
    min-width: 64px;     
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-blue));
    border-radius: 16px;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.section-icon svg {
    width: 40px;
    height: 40px;
}

.section-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin: 0 auto;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary {
    background: var(--color-gradient-1);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: 0.5rem 2rem;
    border-radius: 24px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-gradient-2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(-2px) scale(1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gradient-1);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

.magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;  
    transition: var(--transition);
    margin-top: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

.navbar.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    cursor: pointer;
}
.logo-footer{
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.938rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gradient-1);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.hero {
    max-height: 120vh;
    display: flex;
    align-items: center;
    padding-top: 0px;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@keyframes float-hero {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.glitch-wrapper {
    position: relative;
}

.hero-text {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-display);
}

.hero-title .accent {
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(10deg); }
}

.typing-effect {
    border-right: 3px solid var(--color-blue);
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: blobFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(59, 130, 246, 0.2));
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(156, 163, 175, 0.15));
    bottom: -150px;
    left: -50px;
    animation-delay: 7s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.2));
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.browser-mockup {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 380px;
    background: #1E1E22;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: flipInY 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
    z-index: 3;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.browser-header {
    background: #252529;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--color-gray);
    animation: elasticDrop 0.8s ease 0.8s both;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: scaleBounceIn 0.5s ease both;
}
.dot-red { animation-delay: 0.9s; }
.dot-yellow { animation-delay: 1s; }
.dot-green { animation-delay: 1.1s; }

.dot-red { background-color: #FF5F56; }
.dot-yellow { background-color: #FFBD2E; }
.dot-green { background-color: #27C93F; }

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--color-gray);
}

.lock-icon {
    width: 14px;
    height: 14px;
    color: var(--color-mint-dark);
}

.browser-content {
    background: #1E1E22;
    padding: 1.5rem;
    min-height: 350px;
}

.mockup-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    animation: slideInLeftRotate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1s backwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.mockup-logo {
    width: 80px;
    height: 25px;
    background: var(--color-gradient-1);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    animation: slideInLeftRotate 0.6s ease 1.1s both;
}

.mockup-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.menu-line {
    height: 2px;
    background: var(--color-gray);
    border-radius: 2px;
    animation: menuExpand 0.8s ease infinite;
}

.menu-line:nth-child(1) {
    width: 25px;
    animation-delay: 0s;
}

.menu-line:nth-child(2) {
    width: 20px;
    animation-delay: 0.2s;
}

.menu-line:nth-child(3) {
    width: 25px;
    animation-delay: 0.4s;
}

@keyframes menuExpand {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.2); }
}

.mockup-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeSlideUpBounce 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s backwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.mockup-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.text-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    animation: lineGrow 1.2s ease infinite;
}

.text-line.long {
    width: 100%;
    animation-delay: 0s;
}

.text-line.medium {
    width: 80%;
    animation-delay: 0.2s;
}

.text-line.short {
    width: 60%;
    animation-delay: 0.4s;
}

@keyframes lineGrow {
    0%, 100% { transform: scaleX(1); opacity: 0.6; }
    50% { transform: scaleX(0.95); opacity: 1; }
}

.mockup-image {
    width: 100%;
    height: 80px;
    background: var(--color-gradient-1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    animation: imagePulse 2s ease infinite;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

@keyframes imagePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.mockup-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    animation: scaleBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s backwards;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mockup-card {
    height: 60px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.card-1 {
    background: rgba(37, 99, 235, 0.2);
    animation: cardFloat 3s ease infinite;
}

.card-2 {
    background: rgba(34, 197, 94, 0.2);
    animation: cardFloat 3s ease infinite 1s;
}

.card-3 {
    background: rgba(37, 99, 235, 0.15);
    animation: cardFloat 3s ease infinite 2s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.code-snippets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.code-snippet {
    position: absolute;
    background: #1E1E22;
    border: 2px solid var(--color-mint);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--color-mint-dark);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: codeFloat 6s ease-in-out infinite;
}

.snippet-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.snippet-2 {
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.snippet-3 {
    bottom: 15%;
    left: -8%;
    animation-delay: 4s;
}

@keyframes codeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
    50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.8; }
    75% { transform: translateY(-30px) rotate(3deg); opacity: 0.9; }
}

.code-tag {
    color: var(--color-mint-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

.portfolio-container{
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.portfolio-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.portfolio.section-padding {
    padding: 4rem 0;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

/* Ocultar items extra por defecto — ahora manejado por JS con data-category */
.portfolio-item.filter-hidden {
    display: none;
}

.portfolio-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* ─── Portfolio Filters ─── */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 1.5rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.3rem;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: rgba(37,99,235,0.5);
    color: #fff;
    background: rgba(37,99,235,0.1);
}

.filter-btn.active {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

/* Items sin link */
.portfolio-nohref {
    cursor: default;
    opacity: 0.78;
}

.portfolio-nohref:hover {
    transform: none !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.view-project--soon {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35) !important;
    font-style: italic;
    opacity: 1 !important;
}

/* Animación al filtrar */
@keyframes filterFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.portfolio-item.filter-show {
    animation: filterFadeIn 0.35s ease both;
}

/* ─── Sin toggle button ─── */

.portfolio-item {
    display: block;
    position: relative;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 0 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.25);
}

.portfolio-visuals {
    position: relative;
    width: 100%;
    min-height: 300px;
    overflow: hidden;
    background: #f0f0f0;
}

.visual-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.visual-web img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.visual-mobile {
    position: absolute;
    bottom: -100%; 
    right: 25px;
    width: 25%;
    max-width: 150px;
    z-index: 10;
    transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
}

.mobile-frame {
    border: 4px solid #0F0F10;
    border-radius: 12px;
    background: #0F0F10;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    position: relative;
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 4px;
    background: #0F0F10;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 2;
}

.mobile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-item:hover .visual-web {
    transform: scale(1.05);
}

.portfolio-item:hover .visual-mobile {
    bottom: 5px;
}

.portfolio-info {
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    letter-spacing: -0.5px;
}

.view-project {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.portfolio-item:hover .view-project {
    opacity: 1;
}

.view-project .arrow {
    transition: transform 0.3s ease;
    font-weight: bold;
}

.portfolio-item:hover .view-project .arrow {
    transform: translateX(5px);
}

.contact-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
}

.contact-section .proposal-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-section .section-header {
    margin-bottom: 3rem;
}


.services {
    padding: 2rem 0;
    background-color: transparent;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-gradient-1);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    transition: var(--transition);
}

.service-card:hover .service-number {
    background: var(--color-gradient-2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.2);
}

.service-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--color-white);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.service-card:hover .service-icon {
    background: var(--color-gradient-2);
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-purple);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.service-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-hover-effect {
    transform: scaleX(1);
}

.portfolio {
    padding: 3rem 0;
    background: transparent;
    position: relative;
    overflow: clip;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.portfolio::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.proposal-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.proposal-section .container {
    max-width: 100%;
}

.proposal-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.proposal-form-container {
    background: rgba(30, 30, 34, 0.9);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.proposal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.form-group.project-type-selector {
    grid-column: 1 / -1;
}

.form-group:has(textarea) {
    grid-column: 1 / -1;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.btn-primary.full-width {
    grid-column: 1 / -1;
    max-width: 300px;
    max-height: 50px;
    margin: 1.5rem auto 0 auto;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
}

.project-type-selector .type-label {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.type-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.type-options input[type="radio"] {
    display: none;
}

.type-options .type-option {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.3rem;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

.type-options input:checked + .type-option {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.proposal-form .form-group input,
.proposal-form .form-group textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    transition: var(--transition);
    outline: none;
}

.proposal-form .form-group input:focus,
.proposal-form .form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.proposal-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}



.proposal-form .form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--color-gray);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    z-index: 3;
}

.pricing-card {
    background: #1E1E22;
    padding: 1rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: visible;
    z-index: 3;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
}



.card-header {
    text-align: center;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    color: var(--color-white);
    font-family: var(--font-display);
}

.price-subtitle {
    font-size: 0.95rem;
    color: var(--color-gray);
    margin-top: 0.2rem;
    font-weight: 500;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: -1px;
}

/* â”€â”€ Card Add-ons (inline checkboxes) â”€â”€ */
.card-addons {
    padding: 1rem 0rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.addons-label-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 20px;
}

.addons-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-weight: 600;
}

.addons-info-trigger {
    font-size: 0.9rem;
    color: var(--color-accent);
    cursor: pointer;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.addons-info-trigger:hover {
    color: var(--color-blue);
}

.addons-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    right: -20px;
    width: 420px;
    background: rgba(15, 15, 25, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: visible;
}

.addons-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 16px;
    border: 6px solid transparent;
    border-top-color: rgba(20, 20, 30, 0.95);
}

.addons-info-trigger:hover .addons-tooltip {
    display: block;
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.addons-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.addons-tooltip ul li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.addons-tooltip ul li strong {
    color: var(--color-white);
}

.addon-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    user-select: none;
}


.addon-check.selected {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--color-accent);
}

.addon-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.addon-check .checkmark {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.addon-check .checkmark::after {
    content: '✓';
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}
.addon-check:hover .checkmark  {
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.addon-check:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--color-accent);
}

.addon-check input:checked ~ .checkmark {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.addon-check input:checked ~ .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.addon-check-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.addon-check-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addon-check-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
    margin-left: 0.5rem;
}

.card-features {
    list-style: none;
    padding: 0;
}

.card-features li {
    margin-bottom: 0.5rem;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1rem;
}

.btn-card-cta {
    display: block;
    width: 100%;
    padding: 0.9rem 1.5rem;
    margin-top: auto;
    padding-top: 0.9rem;
    background: var(--color-gradient-1);
    color: var(--color-white);
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-card-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(37, 99, 235, 0.25);
    background: var(--color-gradient-2);
    letter-spacing: 0.5px;
}

.footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--color-gray-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-gradient-1);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 3s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    color: var(--color-white);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-float:hover svg {
    transform: scale(1.1) rotate(5deg);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5), 0 0 0 12px rgba(37, 211, 102, 0.1), 0 0 0 24px rgba(37, 211, 102, 0.05); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ANIMACIONES DE ENTRADA CREATIVAS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* --- Reveal base: ocultar antes de animar --- */
.reveal-ready {
    opacity: 0;
    visibility: hidden;
}

.reveal-ready.revealed {
    visibility: visible;
}

/* --- Fade Slide Up con rebote suave --- */
@keyframes fadeSlideUpBounce {
    0% { opacity: 0; transform: translateY(80px) scale(0.95); }
    60% { opacity: 1; transform: translateY(-8px) scale(1.01); }
    80% { transform: translateY(3px) scale(0.995); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Slide desde la izquierda con rotaciÃ³n --- */
@keyframes slideInLeftRotate {
    0% { opacity: 0; transform: translateX(-120px) rotate(-8deg) scale(0.9); }
    70% { opacity: 1; transform: translateX(10px) rotate(1deg) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) rotate(0) scale(1); }
}

/* --- Slide desde la derecha con rotaciÃ³n --- */
@keyframes slideInRightRotate {
    0% { opacity: 0; transform: translateX(120px) rotate(8deg) scale(0.9); }
    70% { opacity: 1; transform: translateX(-10px) rotate(-1deg) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) rotate(0) scale(1); }
}

/* --- Scale bounce (zoom elÃ¡stico) --- */
@keyframes scaleBounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.08); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- Flip 3D horizontal --- */
@keyframes flipInX {
    0% { opacity: 0; transform: perspective(800px) rotateX(90deg) translateY(40px); }
    40% { opacity: 0.8; transform: perspective(800px) rotateX(-15deg); }
    70% { transform: perspective(800px) rotateX(8deg); }
    100% { opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0); }
}

/* --- Flip 3D vertical --- */
@keyframes flipInY {
    0% { opacity: 0; transform: perspective(800px) rotateY(-90deg); }
    40% { opacity: 0.8; transform: perspective(800px) rotateY(15deg); }
    70% { transform: perspective(800px) rotateY(-8deg); }
    100% { opacity: 1; transform: perspective(800px) rotateY(0deg); }
}

/* --- Zoom con blur (desenfoque a enfoque) --- */
@keyframes zoomBlurIn {
    0% { opacity: 0; transform: scale(1.4); filter: blur(20px); }
    60% { opacity: 0.8; filter: blur(5px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* --- Spiral In (giro + escala) --- */
@keyframes spiralIn {
    0% { opacity: 0; transform: rotate(-180deg) scale(0); }
    60% { opacity: 1; transform: rotate(15deg) scale(1.1); }
    80% { transform: rotate(-5deg) scale(0.98); }
    100% { opacity: 1; transform: rotate(0) scale(1); }
}

/* --- Elastic drop (caÃ­da elÃ¡stica) --- */
@keyframes elasticDrop {
    0% { opacity: 0; transform: translateY(-100px) scaleY(1.4) scaleX(0.8); }
    30% { transform: translateY(10px) scaleY(0.9) scaleX(1.05); }
    50% { transform: translateY(-5px) scaleY(1.02) scaleX(0.98); }
    70% { transform: translateY(3px) scaleY(0.99); }
    100% { opacity: 1; transform: translateY(0) scaleY(1) scaleX(1); }
}

/* --- Glitch reveal (efecto glitch) --- */
@keyframes glitchReveal {
    0% { opacity: 0; transform: translateX(-5px); clip-path: inset(40% 0 60% 0); }
    20% { opacity: 0.5; transform: translateX(5px); clip-path: inset(10% 0 80% 0); }
    40% { opacity: 0.7; transform: translateX(-3px); clip-path: inset(60% 0 10% 0); }
    60% { opacity: 0.9; transform: translateX(2px); clip-path: inset(20% 0 40% 0); }
    80% { transform: translateX(-1px); clip-path: inset(0); }
    100% { opacity: 1; transform: translateX(0); clip-path: inset(0); }
}

/* --- Cascade stagger animation (para items con delay CSS) --- */
@keyframes cascadeUp {
    0% { opacity: 0; transform: translateY(60px) rotateX(15deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

/* --- Text reveal por lÃ­nea (mÃ¡scara) --- */
@keyframes textRevealMask {
    0% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); transform: translateY(20px); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateY(0); }
}

/* --- Shimmer glow para bordes --- */
@keyframes borderGlow {
    0% { border-color: rgba(37, 99, 235, 0); box-shadow: 0 0 0 rgba(37, 99, 235, 0); }
    50% { border-color: rgba(37, 99, 235, 0.5); box-shadow: 0 0 30px rgba(37, 99, 235, 0.15); }
    100% { border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
}

/* --- Morph slide (forma que muta) --- */
@keyframes morphSlideIn {
    0% { opacity: 0; border-radius: 50%; transform: scale(0.5) translateY(40px); }
    50% { border-radius: 30px; transform: scale(1.05) translateY(-5px); }
    100% { opacity: 1; border-radius: 24px; transform: scale(1) translateY(0); }
}

/* --- Swing entrance --- */
@keyframes swingIn {
    0% { opacity: 0; transform: rotateZ(-12deg) translateY(40px); transform-origin: top left; }
    50% { opacity: 1; transform: rotateZ(4deg); }
    70% { transform: rotateZ(-2deg); }
    100% { opacity: 1; transform: rotateZ(0deg) translateY(0); }
}

/* --- Typewriter underline reveal --- */
@keyframes underlineReveal {
    0% { width: 0; opacity: 0; }
    100% { width: 100%; opacity: 1; }
}

/* --- Nav entrance --- */
@keyframes navSlideDown {
    0% { opacity: 0; transform: translateY(-100%); }
    60% { transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

.navbar {
    animation: navSlideDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --- Nav links stagger --- */
.nav-link {
    opacity: 0;
    animation: fadeSlideUpBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.nav-menu li:nth-child(1) .nav-link { animation-delay: 0.3s; }
.nav-menu li:nth-child(2) .nav-link { animation-delay: 0.45s; }
.nav-menu li:nth-child(3) .nav-link { animation-delay: 0.6s; }
.nav-menu li:nth-child(4) .nav-link { animation-delay: 0.75s; }

/* --- Logo entrada --- */
.logo-img {
    animation: scaleBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

/* --- Hero text panel entrance --- */
.hero-text {
    animation: slideInLeftRotate 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both, borderGlow 2s ease 1.2s both;
}

/* --- Hero visual panel entrance --- */
.hero-visual {
    animation: slideInRightRotate 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

/* --- Hero title glitch reveal --- */
.hero-title {
    animation: glitchReveal 0.8s ease 0.5s both;
}

/* --- Hero description text mask reveal --- */
.hero-description {
    animation: textRevealMask 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
}

/* --- Hero buttons stagger pop --- */
.hero-buttons .btn:nth-child(1) {
    animation: scaleBounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both;
}
.hero-buttons .btn:nth-child(2) {
    animation: scaleBounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both;
}

/* --- Scroll indicator entrance --- */
.scroll-indicator {
    animation: elasticDrop 1s ease 1.5s both;
}

/* --- WhatsApp float entrance --- */
.whatsapp-float {
    animation: spiralIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s both, pulse-whatsapp 3s ease-in-out 2.5s infinite;
}

/* --- Floating shapes enhanced --- */
.shape-blob {
    animation: blobFloat 20s ease-in-out infinite, zoomBlurIn 2s ease both;
}
.shape-1 { animation-delay: 0s, 0.5s; }
.shape-2 { animation-delay: 7s, 1s; }
.shape-3 { animation-delay: 14s, 1.5s; }

/* --- Code snippets enhanced entrance --- */
.snippet-1 { animation: swingIn 1s ease 1s both, codeFloat 6s ease-in-out 2s infinite; }
.snippet-2 { animation: swingIn 1s ease 1.3s both, codeFloat 6s ease-in-out 2.3s infinite; }
.snippet-3 { animation: swingIn 1s ease 1.6s both, codeFloat 6s ease-in-out 2.6s infinite; }

/* --- Footer entrance --- */
.footer-brand {
    animation: slideInLeftRotate 0.8s ease both;
}
.footer-column:nth-child(1) { animation: cascadeUp 0.6s ease both; }
.footer-column:nth-child(2) { animation: cascadeUp 0.6s ease 0.15s both; }
.footer-column:nth-child(3) { animation: cascadeUp 0.6s ease 0.3s both; }

/* --- Social links pop --- */
.social-links a {
    transition: var(--transition), transform 0.3s;
}
.social-links a:hover {
    animation: scaleBounceIn 0.4s ease;
}

/* --- Section icon spin-in --- */
.section-icon {
    transform: translateX(50px);
}

@media (max-width: 968px) {
    .hero-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 50%;
        height: 30vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border-radius: 36px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding-top: 10px;
        max-height: 90vh;
        padding-top: 80px;
        padding-bottom: 2rem;
        height: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 6rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    
    .btn {
        width: 70%;
        padding: 10px 0;
    }
    
    .services,
    .portfolio,
    .contact {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .section-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 14px;
        transform: translateX(0px);
    }

    .section-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .proposal-form {
        grid-template-columns: 1fr;
    }

    .type-options {
        flex-direction: column;
        gap: 1rem;
    }

    .proposal-section {
        overflow: visible;
    }
    
    .pricing-cards {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 0.5rem;
        margin: 0;
    }
    
    .pricing-card {
        position: sticky;
        top: 100px;
        min-width: auto;
        width: 100%;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    }

    .pricing-card:nth-child(1) {
        z-index: 1;
    }

    .pricing-card:nth-child(2) {
        z-index: 2;
        margin-top: 40px;
    }

    .pricing-card:nth-child(3) {
        z-index: 3;
        margin-top: 40px;
    }
    
    .proposal-form-container {
        padding: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 2rem;
        width: 100%;
        padding: 0 0.5rem;
    }

    .portfolio-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        width: 100%;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        font-size: 0.78rem;
        padding: 0.4rem 0.9rem;
        flex-shrink: 0;
    }

    .visual-web {
        display: none;
    }

    .visual-mobile {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        filter: none;
    }

    .mobile-frame {
        border: none;
        border-radius: 24px;
        background: transparent;
        aspect-ratio: auto;
    }

    .mobile-frame::before {
        display: none;
    }

    .portfolio-visuals {
        min-height: auto;
        background: #1E1E22;
        border-radius: 16px;
    }

    .portfolio-item:hover .visual-mobile {
        bottom: auto;
    }

    .portfolio-item {
        display: flex;
        flex-direction: column;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        overflow: visible;
    }

    .portfolio-item:hover {
        transform: translateY(-5px);
        box-shadow: none;
        border-color: transparent;
    }

    .portfolio-info {
        display: flex;
        flex-direction: column;
        order: -1;
        padding: 1rem 0.2rem;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-top: none;
    }
    
    .portfolio-info h3 {
        font-size: 0.75rem;
    }
    
    .view-project {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .browser-mockup {
        height: 300px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .uno, .dos, .tres, .cuatro, .cinco, .seis {
        position: sticky;
        top: 20vh;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    .portfolio-container{
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .addons-label{
        font-size: 0.6rem;
    }
    .addons-info-trigger{
        font-size: 0.8rem;
    }
    .addons-tooltip {
        width: calc(100vw - 3rem);
        max-width: 400px;
        right: 170%;
        transform: translateX(50%);
        padding: 1rem;
        border-radius: 12px;
        bottom: calc(100% + 10px);
    }
    .addons-tooltip::after {
        right: calc(50% - 6px);
    }
    .addons-tooltip ul {
        gap: 0.55rem;
    }
    .addons-tooltip ul li {
        font-size: 0.82rem;
        line-height: 1.45;
    }
    .portfolio-toggle-btn{
        padding: 0.5rem 0.5rem;
        font-size: 1rem;
        min-width: 200px;
    }
}


/* ══════════════════════════════════════════════
   LOGO SVG
   ══════════════════════════════════════════════ */
.logo-svg {
    height: 36px;
    width: auto;
    transition: var(--transition);
}

.logo-footer {
    height: 44px;
    width: auto;
}

/* ══════════════════════════════════════════════
   NAV CTA BUTTON
   ══════════════════════════════════════════════ */
.nav-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 50px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }
}

/* ══════════════════════════════════════════════
   EXPLAINER SECTIONS (Landing / E-commerce)
   ══════════════════════════════════════════════ */
.explainer-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.explainer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.explainer-layout.reverse {
    direction: rtl;
}

.explainer-layout.reverse > * {
    direction: ltr;
}

.explainer-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.12);
    color: #3B82F6;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.ecommerce-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #22C55E;
    border-color: rgba(34, 197, 94, 0.2);
}

.explainer-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
}

.highlight-landing {
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-ecommerce {
    background: linear-gradient(135deg, #22C55E, #4ADE80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.explainer-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.explainer-ideal {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    text-align: center;
}

.explainer-ideal h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.ideal-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ideal-tag {
    display: inline-block;
    padding: 0.35rem 1.5rem;
    background: rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.ideal-tag.ecommerce-tag {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.explainer-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .9rem 1.5rem;
    background: rgba(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: var(--transition);
}



.feature-card.ecommerce-card:hover {
    border-color: rgba(34, 197, 94, 0.25);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.1);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--color-gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: var(--transition);
}

.feature-icon.ecommerce-icon {
    background: linear-gradient(135deg, #22C55E, #4ADE80);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: #FFFFFF;
}

.feature-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: black;
    margin-bottom: 0.25rem;
}

.feature-info p {
    font-size: 0.9rem;
    color: black;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════
   COMPARISON SECTION
   ══════════════════════════════════════════════ */
.comparison-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.comparison-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.comparison-cards {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    flex: 1;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.landing-comp:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
}

.ecommerce-comp:hover {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 16px 48px rgba(34, 197, 94, 0.15);
}

.comp-icon {
    width: 64px;
    height: 64px;
    background: var(--color-gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.comp-icon.ecommerce-icon {
    background: linear-gradient(135deg, #22C55E, #4ADE80);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.comp-icon svg {
    width: 28px;
    height: 28px;
    color: #FFFFFF;
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.comp-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.comp-features {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    margin-bottom: 2rem;
}

.comp-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comp-features li:last-child {
    border-bottom: none;
}

.comp-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 800;
}

.comp-cta {
    margin-top: auto;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    font-family: var(--font-display);
    padding: 0 1rem;
    min-width: 60px;
}

/* ══════════════════════════════════════════════
   RESPONSIVE - EXPLAINER & COMPARISON
   ══════════════════════════════════════════════ */
@media (max-width: 968px) {
    .explainer-layout,
    .explainer-layout.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

    .explainer-title {
        font-size: 2rem;
    }

    .comparison-cards {
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-vs {
        padding: 0.5rem 0;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .explainer-section {
        padding: 3rem 0;
    }

    .explainer-title {
        font-size: 1.75rem;
    }

    .comparison-header h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1rem;
    }
}

/* ══════════════════════════════════════════════
   PROCESS / CÓMO TRABAJAMOS
   ══════════════════════════════════════════════ */
.process-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(34, 197, 94, 0.15));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, #2563EB, #22C55E);
    -webkit-background-clip: text;
    background-clip: text;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--color-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, #22C55E, #4ADE80);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    transform: scale(1.1) rotate(10deg);
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.process-connector {
    width: 60px;
    min-width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.3), rgba(34, 197, 94, 0.3));
    align-self: center;
    margin-top: -2rem;
    position: relative;
}

.process-connector::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(37, 99, 235, 0.5);
    font-size: 1.2rem;
}

/* ══════════════════════════════════════════════
   BOCETO / LEAD MAGNET
   ══════════════════════════════════════════════ */
.boceto-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.boceto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.boceto-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.boceto-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.boceto-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.boceto-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boceto-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.boceto-benefits .check {
    color: #22C55E;
    font-weight: 700;
    font-size: 1.1rem;
}

.boceto-form-wrapper {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.boceto-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563EB, #22C55E, transparent);
}

.boceto-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.boceto-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
}

.boceto-form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    transition: var(--transition);
    outline: none;
}

.boceto-form-group input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.boceto-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.btn-boceto-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: #FFFFFF;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    margin-top: 0.5rem;
}

.btn-boceto-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16A34A, #22C55E);
}

.btn-boceto-cta svg {
    transition: transform 0.3s;
}

.btn-boceto-cta:hover svg {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════
   RESULTS / BENEFICIOS
   ══════════════════════════════════════════════ */
.results-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.result-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 16px 48px rgba(34, 197, 94, 0.12);
}

.result-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(34, 197, 94, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.result-card:hover .result-icon {
    background: linear-gradient(135deg, #2563EB, #22C55E);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.result-icon svg {
    width: 28px;
    height: 28px;
    color: #2563EB;
    transition: var(--transition);
}

.result-card:hover .result-icon svg {
    color: #FFFFFF;
}

.result-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.result-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   BOCETO FLOAT BUTTON
   ══════════════════════════════════════════════ */
.boceto-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-boceto 3s ease-in-out infinite;
}

.boceto-float svg {
    color: #FFFFFF;
}

.boceto-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.5);
}

@keyframes pulse-boceto {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35); }
    50% { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5), 0 0 0 8px rgba(37, 99, 235, 0.1); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE - NEW SECTIONS
   ══════════════════════════════════════════════ */
@media (max-width: 968px) {
    .process-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        min-width: 2px;
        margin: 0 auto;
        background: linear-gradient(180deg, rgba(37, 99, 235, 0.3), rgba(34, 197, 94, 0.3));
    }

    .process-connector::after {
        content: '↓';
    }

    .boceto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .boceto-text h2 {
        font-size: 2rem;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .boceto-text h2 {
        font-size: 1.75rem;
    }

    .boceto-float {
        bottom: 20px;
        left: 20px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .boceto-float span {
        display: none;
    }

    .boceto-float {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

