/* Reset and Base Styles - Huge Inc Exact Replica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
}

.loader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.loader[style*="display: none"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.loader-text {
    font-size: 50px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 2px;
}

/* Navigation - Clean Huge Inc Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: transparent !important;
    transition: var(--transition);
    backdrop-filter: none;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo-link {
    display: inline-flex;
    align-items: baseline;
    padding: 0;
    background: transparent;
    text-decoration: none;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 0;
    transition: var(--transition);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1;
}

.logo-text {
    background: linear-gradient(135deg, #e9277d 0%, #d91a6b 20%, #f2a2d4 80%, #f5b8e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    text-transform: lowercase !important;
    font-weight: 500;
    font-size: 28px;
    letter-spacing: 2px;
    position: relative;
    filter: drop-shadow(0 2px 8px rgba(233, 39, 125, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
    font-style: normal;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.logo-link:hover .logo-text {
    background: linear-gradient(135deg, #ff0080 0%, #e9277d 20%, #ff6ec7 80%, #ffb3e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

.logo-link:hover {
    opacity: 1;
}

.menu-btn,
.lets-talk-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-btn:hover,
.lets-talk-btn:hover {
    opacity: 0.8;
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease;
}

.hero-image.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 40px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.text-line {
    overflow: hidden;
    line-height: 1.2;
}

.text-word {
    display: inline-block;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 400;
    color: var(--white);
    letter-spacing: -2px;
    transform: translateY(100%);
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
}

.scroll-indicator.visible {
    opacity: 1;
    animation: fadeInUp 1s ease 3s forwards;
}

.scroll-line {
    width: 1px;
    height: 20px;
    background: var(--white);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Section Styles */
section {
    position: relative;
    padding: 120px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.what-we-do-section {
    padding: 0;
}

.what-we-do-section .section-header {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 120px 80px 60px;
    position: relative;
    z-index: 10;
}

.services-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Override for proceso section */
.proceso-section .section-title {
    opacity: 1;
    transform: none;
    margin-bottom: 0;
}

.section-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
}

.section-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* Override for proceso section */
.proceso-section .section-subtitle {
    opacity: 1;
    transform: none;
}

/* What We Do Section - Fullscreen Slider */
.what-we-do-section {
    background: var(--white);
    overflow: hidden;
    position: relative;
    padding: 0;
    min-height: 100vh;
    height: auto;
}

.services-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.services-grid {
    display: flex;
    width: calc(100vw * 5);
    height: 100vh;
    will-change: transform;
    position: relative;
}

.service-item {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
    padding: 0 100px;
    flex-shrink: 0;
    opacity: 1;
}

.service-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 70vh;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-image img {
    transform: scale(1.02);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 550px;
    padding: 80px 40px 80px 0;
}

.service-number {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    opacity: 0.7;
}

.service-title {
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 300;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--black);
}

.service-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-description {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--gray);
    max-width: 480px;
    margin-bottom: 25px;
}

.service-use-cases {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.use-case-item {
    padding: 12px 16px;
    border: 2px solid;
    border-radius: 6px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

/* Different colors for each service */
.service-item[data-service="01"] .use-case-item {
    border-color: #3b82f6;
    color: #1e40af;
    background: rgba(59, 130, 246, 0.1);
}

.service-item[data-service="02"] .use-case-item {
    border-color: #10b981;
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
}

.service-item[data-service="03"] .use-case-item {
    border-color: #8b5cf6;
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.1);
}

.service-item[data-service="04"] .use-case-item {
    border-color: #f59e0b;
    color: #d97706;
    background: rgba(245, 158, 11, 0.1);
}

.service-item[data-service="05"] .use-case-item {
    border-color: #ef4444;
    color: #dc2626;
    background: rgba(239, 68, 68, 0.1);
}

.use-case-item:hover {
    transform: translateX(4px);
    opacity: 0.9;
}

.service-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    position: relative;
    transition: var(--transition);
}

.service-link::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

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

/* Tecnologías Section */
.tecnologias-section {
    background: #000;
    padding: 60px 40px;
    color: var(--white);
    position: relative;
}

.tecnologias-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.tecnologias-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.tecnologias-section .section-header {
    margin-bottom: 50px;
}

.tecnologias-section .section-title {
    color: var(--white);
}

.tecnologias-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.tecnologia-category {
    max-width: 1400px;
    margin: 0 auto 60px;
}

.tecnologia-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.carousel-btn {
    display: none !important;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-scroll-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.carousel-scroll-indicator span {
    font-size: 12px;
    font-weight: 300;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.tecnologia-category:hover .carousel-scroll-indicator {
    opacity: 0.3;
}

.carousel-track {
    display: flex;
    gap: 30px;
    will-change: transform;
    cursor: default;
}

.tecnologia-item {
    min-width: 240px;
    max-width: 240px;
    height: 150px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: var(--transition);
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.tecnologia-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tecnologia-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.tecnologia-item:hover::before {
    opacity: 1;
}

.tecnologia-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: var(--white) !important;
}

/* Force all child elements to be white */
.tecnologia-logo * {
    color: var(--white) !important;
}

/* Ensure logos are white - remove all colors */
.tecnologia-logo img,
.tecnologia-logo svg {
    height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    /* Force white: brightness(0) makes black, invert(1) makes white */
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
    transition: var(--transition);
    opacity: 0.9;
    color: var(--white) !important;
}

/* Force all SVG elements inside to be white */
.tecnologia-logo svg,
.tecnologia-logo svg *,
.tecnologia-logo svg path,
.tecnologia-logo svg circle,
.tecnologia-logo svg rect,
.tecnologia-logo svg polygon,
.tecnologia-logo svg g,
.tecnologia-logo svg use {
    fill: var(--white) !important;
    stroke: var(--white) !important;
    color: var(--white) !important;
}

/* Force any embedded SVG in img tags to be white */
.tecnologia-logo img[src$=".svg"] {
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
}

/* Fallback: if logo doesn't load, show text */
.tecnologia-logo img[style*="display: none"] + .logo-text {
    display: block !important;
}

.tecnologia-item:hover .tecnologia-logo img,
.tecnologia-item:hover .tecnologia-logo svg {
    opacity: 1;
    transform: scale(1.05);
}

.logo-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--white) !important;
    letter-spacing: -0.5px;
    display: block;
    text-transform: uppercase;
    filter: none !important;
}

.tecnologia-desc {
    display: none;
}

/* We Believe Section */
.we-believe-section {
    background: var(--light-gray);
    text-align: center;
}

.belief-text {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto 30px;
    opacity: 0;
    transform: translateY(30px);
}

.belief-text.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Nuestro Proceso Section - Vertical Scroll */
.proceso-section {
    background: #0a0a0f;
    overflow: visible;
    position: relative;
    padding: 0;
    min-height: auto;
    height: auto;
}

.proceso-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 120px 100px 60px;
    max-width: 100%;
    margin: 0;
    position: relative;
}

.proceso-section .section-title {
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 400;
    letter-spacing: -3px;
    margin: 0;
    padding: 0;
    line-height: 1;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    flex: 0 0 auto;
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
}

.proceso-section .section-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 300;
    line-height: 1.5;
    max-width: 500px;
    margin: 0;
    padding: 0;
    text-align: right;
    color: var(--white);
    align-self: flex-end;
    margin-top: 40px;
    opacity: 1;
    transform: none;
}

.proceso-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.proceso-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

.proceso-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    will-change: transform;
    position: relative;
}

.proceso-item {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    padding: 0;
    flex-shrink: 0;
    opacity: 1;
    align-items: center;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    transition: opacity 0.6s ease;
    will-change: opacity;
}

.proceso-item:first-child {
    border-top: none;
}

.proceso-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.5) 50%, transparent 100%);
    opacity: 0.3;
    z-index: 1;
}

.proceso-item.fade-out {
    opacity: 0.3;
}

.proceso-item.fade-in {
    opacity: 1;
}

/* Fondo oscuro para cada slide */
.proceso-01 {
    background: #0a0a0f;
}

.proceso-02 {
    background: #0a0a0f;
}

.proceso-03 {
    background: #0a0a0f;
}

.proceso-04 {
    background: #0a0a0f;
}

.proceso-05 {
    background: #0a0a0f;
}

.proceso-number-small {
    position: absolute;
    top: 100px;
    left: 100px;
    font-size: 14px;
    font-weight: 300;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    z-index: 10;
    font-family: 'Inter', sans-serif;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.proceso-title {
    position: absolute;
    top: 130px;
    left: 100px;
    font-size: clamp(80px, 10vw, 160px);
    font-weight: 400;
    letter-spacing: -5px;
    line-height: 1;
    color: var(--white);
    margin: 0;
    z-index: 10;
    font-family: 'Inter', sans-serif;
    max-width: 60%;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    will-change: transform, opacity;
}

.proceso-animated-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.proceso-animated-graphic svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4)) drop-shadow(0 0 60px rgba(236, 72, 153, 0.2));
}

.proceso-item:hover .proceso-animated-graphic {
    opacity: 0.9;
}

/* Animaciones CSS adicionales */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.float-anim {
    animation: float 3s ease-in-out infinite;
}

.float-anim-delay {
    animation: float 4s ease-in-out infinite 0.5s;
}

.float-anim-delay2 {
    animation: float 3.5s ease-in-out infinite 1s;
}

.pulse-anim {
    animation: pulse 2s ease-in-out infinite;
}

.pulse-anim-delay {
    animation: pulse 2.5s ease-in-out infinite 0.5s;
}

.pulse-anim-fast {
    animation: pulse 1.5s ease-in-out infinite;
}

.wave-anim {
    animation: wave 3s ease-in-out infinite;
}

.wave-anim-delay {
    animation: wave 3.5s ease-in-out infinite 0.5s;
}

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

.move-right {
    animation: moveRight 4s ease-in-out infinite;
}

.move-left {
    animation: moveLeft 5s ease-in-out infinite;
}

@keyframes moveRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(200px); }
}

@keyframes moveLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-200px); }
}

.rise-anim {
    animation: rise 4s ease-in-out infinite;
}

.rise-anim-delay {
    animation: rise 5s ease-in-out infinite 0.8s;
}

.rise-anim-delay2 {
    animation: rise 4.5s ease-in-out infinite 1.5s;
}

@keyframes rise {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-100px); opacity: 1; }
}

.shape-rotate {
    transform-origin: 200px 200px;
}

.shape-rotate-reverse {
    transform-origin: 200px 200px;
}

.proceso-image-container {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.proceso-image {
    display: none;
}

.proceso-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.proceso-item:hover .proceso-image {
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4), 0 0 60px rgba(236, 72, 153, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

.proceso-description {
    position: absolute;
    bottom: 100px;
    right: 100px;
    max-width: 500px;
    text-align: right;
    z-index: 10;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: translateX(30px);
    will-change: transform, opacity;
}

.proceso-text {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--white);
    margin: 0;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

/* Resaltar palabras clave con gradiente */
.proceso-text {
    color: var(--white);
}

.proceso-text strong,
.proceso-text .highlight {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.partners-section {
    margin-top: 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partners-section h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 300;
    margin-bottom: 20px;
}

.partners-section p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

/* Work Section */
.work-section {
    background: var(--white);
}

.work-grid {
    max-width: 1400px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.work-item {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    cursor: pointer;
}

.work-item.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.work-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.work-item:hover .work-image img {
    transform: scale(1);
}

.work-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.work-content p {
    font-size: 16px;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.work-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.work-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

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

/* Careers Section */
.careers-section {
    background: var(--light-gray);
    text-align: center;
}

.careers-content {
    max-width: 1000px;
    margin: 0 auto;
}

.careers-content p {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 300;
    line-height: 1.6;
    margin: 30px 0 40px;
}

.careers-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.careers-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

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

/* Ideas Section */
.ideas-section {
    background: var(--white);
}

.ideas-grid {
    max-width: 1400px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.idea-item {
    opacity: 0;
    transform: translateY(50px);
    cursor: pointer;
}

.idea-item.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.idea-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

.idea-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.idea-item:hover .idea-image img {
    transform: scale(1);
}

.idea-category {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.idea-content h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.idea-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.idea-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

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

/* Transition Animation Section */
.transition-animation-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.transition-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.transition-square {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 120px;
    background: #ff0080;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.6s ease, opacity 0.6s ease;
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.5);
    padding: 0 20px;
}

.transition-text {
    background: linear-gradient(135deg, #e9277d 0%, #d91a6b 20%, #f2a2d4 80%, #f5b8e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

.particles-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    overflow: hidden;
    z-index: 5;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #808080;
    border-radius: 1px;
    opacity: 0.7;
    will-change: transform, opacity;
    transform-origin: center;
}

.particle.animate {
    animation: particleDisperse 2.5s ease-out forwards;
}

@keyframes particleDisperse {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.2);
        opacity: 0;
    }
}

/* Footer */
.footer {
    background: #0a0a0f;
    color: var(--white);
    padding: 50px 100px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 4px;
}

.footer-logo-text {
    background: linear-gradient(135deg, #e9277d 0%, #d91a6b 20%, #f2a2d4 80%, #f5b8e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 300;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 2px;
    text-transform: lowercase !important;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(233, 39, 125, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
    font-style: normal;
}

.footer-logo:hover .footer-logo-text {
    background: linear-gradient(135deg, #ff0080 0%, #e9277d 20%, #ff6ec7 80%, #ffb3e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(233, 39, 125, 0.2));
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 400px;
    font-family: 'Inter', sans-serif;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    text-align: right;
}

.footer-contact {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: #ec4899;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.back-to-top {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.back-to-top:hover {
    opacity: 0.6;
}

/* Chat Button */
.chat-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.chat-btn:hover {
    background: var(--gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 40px;
    }

    .service-image {
        min-height: 50vh;
        max-height: 60vh;
    }
    
    .service-content {
        padding: 60px 0;
        max-width: 100%;
    }

    .service-use-cases {
        gap: 10px;
        margin-top: 20px;
    }

    .use-case-item {
        padding: 10px 14px;
        font-size: 14px;
    }

    .nav-menu {
        display: none;
    }
    
    .menu-btn {
        display: none !important;
    }
    
    .services-grid {
        width: calc(100vw * 5);
    }
    
    .section-header {
        padding: 100px 40px 0;
    }
    
    .tecnologia-item {
        min-width: 200px;
        max-width: 200px;
        height: 130px;
        padding: 20px;
    }
    
    .tecnologia-logo img {
        height: 45px;
        max-width: 140px;
    }
    
    .proceso-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 40px 40px;
    }
    
    .proceso-section .section-title {
        margin-bottom: 30px;
    }
    
    .proceso-section .section-subtitle {
        text-align: left;
        margin-top: 0;
        max-width: 100%;
        align-self: flex-start;
    }
    
    .proceso-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 0;
        padding: 0;
    }
    
    .proceso-number-small {
        top: 80px;
        left: 40px;
    }
    
    .proceso-title {
        top: 100px;
        left: 40px;
        font-size: clamp(48px, 8vw, 80px);
    }
    
    .proceso-image-container {
        grid-column: 1;
        grid-row: 1 / -1;
        width: 100%;
        height: 100%;
    }
    
    .proceso-animated-graphic {
        width: 450px;
        height: 450px;
        opacity: 0.6;
    }
    
    .proceso-description {
        bottom: 60px;
        right: 40px;
        left: 40px;
        max-width: 100%;
        text-align: left;
    }
    
    .tecnologias-section {
        padding: 40px 20px;
    }
    
    .tecnologias-section .section-header {
        margin-bottom: 40px;
    }
    
    .tecnologia-category {
        margin-bottom: 50px;
    }
    
    .carousel-scroll-indicator {
        padding: 15px 20px;
    }
    
    .carousel-scroll-indicator span {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .tecnologia-item {
        min-width: 180px;
        max-width: 180px;
        height: 120px;
        padding: 15px;
    }
    
    .tecnologia-logo img {
        height: 40px;
        max-width: 120px;
    }
    
    .logo-link {
        font-size: 22px;
    }
    
    .logo-text {
        font-size: 22px;
        letter-spacing: 1.5px;
        font-weight: 300;
    }
    
    .category-title {
        margin-bottom: 30px;
    }
    
    .tecnologias-section {
        padding: 30px 15px;
    }
    
    .carousel-scroll-indicator {
        display: none;
    }
}

@media (max-width: 1024px) {
    .footer {
        padding: 50px 40px 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-right {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .footer {
        padding: 40px 20px 30px;
    }
    
    .footer-content {
        gap: 30px;
    }

    .footer-logo-text {
        font-size: 28px;
        letter-spacing: 1.5px;
        font-weight: 300;
    }

    .footer-tagline {
        font-size: 16px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .footer-contact {
        font-size: 16px;
    }

    .particles-container {
        height: 50%;
    }

    section {
        padding: 80px 20px;
    }

    .menu-content {
        padding: 40px 20px;
    }

    .menu-links a {
        font-size: 32px;
    }

    .work-grid,
    .ideas-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chat-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 12px;
    }
}

/* Contact Form Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-background-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at left center, rgba(255, 0, 150, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.modal-content {
    position: relative;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.modal-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.5px;
}

.modal-close-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.modal-close-btn {
    background: #333;
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.modal-close-btn:hover {
    background: #444;
}

.modal-close-x {
    background: var(--white);
    color: var(--black);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.modal-close-x:hover {
    opacity: 0.8;
}

.modal-close-x svg {
    width: 18px;
    height: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.required {
    color: #ff00a6;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    background: var(--black);
    border: 1px solid var(--white);
    color: var(--white);
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    border-radius: 4px;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff00a6;
}

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

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

.form-submit-btn {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    align-self: center;
    text-transform: none;
    letter-spacing: 0;
}

.form-submit-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.modal-footer-text {
    margin-top: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.privacy-link {
    color: var(--white);
    text-decoration: underline;
    transition: var(--transition);
}

.privacy-link:hover {
    color: #ff00a6;
}

/* Responsive Styles for Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 24px 20px;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .modal-header {
        margin-bottom: 24px;
        flex-wrap: wrap;
    }

    .modal-title {
        font-size: 20px;
        width: 100%;
        margin-bottom: 16px;
    }

    .modal-close-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .contact-form {
        gap: 20px;
    }

    .form-group {
        gap: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 14px;
    }

    .form-submit-btn {
        width: 100%;
        padding: 14px;
    }

    .modal-background-glow {
        width: 100%;
        background: radial-gradient(ellipse at center, rgba(255, 0, 150, 0.2) 0%, transparent 70%);
    }
}

@media (max-width: 480px) {
    .contact-modal {
        padding: 0;
    }

    .modal-content {
        padding: 20px 16px;
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-close-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .modal-close-x {
        width: 28px;
        height: 28px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .modal-footer-text {
        font-size: 11px;
    }

    .service-item {
        padding: 0 20px;
    }

    .service-use-cases {
        gap: 8px;
    }

    .use-case-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .service-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .service-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .proceso-animated-graphic {
        width: 350px;
        height: 350px;
        opacity: 0.5;
    }
}
