:root {
    --primary-color: #ffffff;
    --bg-dark: #000000;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(45deg, #AF68D1, #2B9DED);
    --gradient-secondary: linear-gradient(135deg, #AF68D1, #2B9DED);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header {
    background-color: var(--bg-dark);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0 0.5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-bottom: 1rem;
    text-align: center;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo-img {
    max-width: 320px; 
    height: auto;
    transition: var(--transition);
    display: block;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    opacity: 0.9;
}

.header-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #AF68D1, #2B9DED);
    margin: 0.5rem 0 1rem 0;
    border: none;
    border-radius: 1px;
}

.nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1.2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 0.8rem 0.5rem;
    display: inline-block;
}

.nav-link {
    color: var(--text-light);
}

.nav-link:hover,
.nav-link:focus {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hoverScale 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.nav-link[aria-current="page"] {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

@keyframes hoverScale {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.15);
    }
    100% {
        transform: translateY(-2px) scale(1.1);
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 2rem;
    top: 2rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: var(--transition);
}

@media screen and (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }

    .container {
        padding: 0 1rem;
        flex-direction: row;
        justify-content: center; 
        align-items: center;
        position: relative;
        min-height: 70px; 
    }

    .logo {
        margin-bottom: 0;
        text-align: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); 
        z-index: 1001;
    }

    .logo-img {
        max-width: 200px; 
    }

    .header-separator {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%); 
        margin: 0;
        padding: 0.8rem;
        z-index: 1001;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        padding: 1rem 0;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .nav-link {
        font-size: 1.1rem;
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-link:hover,
    .nav-link[aria-current="page"] {
        transform: scale(1.02);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media screen and (max-width: 480px) {
    .logo-img {
        max-width: 160px; 
    }
    
    .container {
        padding: 0 0.8rem;
        min-height: 60px;
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .mobile-menu-btn {
        padding: 0.7rem;
        right: 0.8rem;
    }
}

.logo-img {
    will-change: transform;
}

.nav-link {
    will-change: transform, color;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .logo:hover .logo-img {
        transform: none;
    }
    
    .nav-link:hover {
        transform: none !important;
    }
}

.nav-link:focus-visible,
.logo:focus-visible img {
    outline: 2px solid #2B9DED;
    outline-offset: 4px;
    border-radius: 2px;
}

@media print {
    .header {
        position: static;
        border-bottom: 2px solid #000;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .header-separator {
        background: #000;
    }
}

body {
    padding-top: 120px;
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 80px;
    }
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--bg-dark);
    margin-top: 140px; 
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.77, 0, 0.18, 1);
    transform: translateX(100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.slide-icon {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: brightness(0.7) contrast(1.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.slide-text {
    z-index: 2;
}

.slide-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide.active .slide-icon {
    animation: slideIconAppear 0.8s ease 0.4s forwards;
}

@keyframes slideIconAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.slide-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
}

.icon-container:hover .slide-icon {
    filter: brightness(1) contrast(1);
    transform: translateY(-10px) scale(1.05);
}

.icon-container:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(175, 104, 209, 0.2), rgba(43, 157, 237, 0.2));
    border-radius: 50%;
    animation: iconGlow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.icon-container {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 968px) {
    .slide-icon {
        width: 70%;
        height: 70%;
    }
}

@media screen and (max-width: 768px) {
    .slide-icon {
        width: 60%;
        height: 60%;
    }
}

@media screen and (max-width: 480px) {
    .slide-icon {
        width: 50%;
        height: 50%;
    }
}

.icon {
    display: none;
}

.slide-btn {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

.slide.active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(175, 104, 209, 0.3);
}

.slide-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-container {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(175, 104, 209, 0.1), rgba(43, 157, 237, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
    transition: all 0.8s ease 0.4s;
}

.slide.active .icon-container {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.icon {
    font-size: 8rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    transform: scale(1.1);
    border-color: transparent;
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(175, 104, 209, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(43, 157, 237, 0.1) 0%, transparent 50%);
    animation: bgFloat 10s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-10px, -10px) scale(1.02);
    }
}

/* === RESPONSIVE SLIDER === */
@media screen and (max-width: 968px) {
    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .slide-title {
        font-size: 3rem;
    }
    
    .icon-container {
        width: 200px;
        height: 200px;
    }
    
    .icon {
        font-size: 5rem;
    }
}

@media screen and (max-width: 768px) {
    .slider {
        height: 80vh;
        min-height: 500px;
        margin-top: 100px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slider-controls {
        bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .slider {
        height: 70vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .icon-container {
        width: 150px;
        height: 150px;
    }
    
    .icon {
        font-size: 4rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
    }
}

/* === ABOUT SECTION - COMPACTA Y HORIZONTAL === */
.about {
    position: relative;
    padding: 6rem 0;
    background: #0a0a0a;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://img.freepik.com/foto-gratis/computadora-escritorio-hogar-iluminado-neon_136747925.htm');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    filter: brightness(0.8) contrast(1.2);
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(26, 26, 46, 0.88) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.about-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Encabezado más compacto */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
}

.about-quote {
    margin: 0 auto;
    max-width: 700px;
}

.about-quote p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #e0e0e0;
    font-style: italic;
    font-weight: 300;
}

/* Fila horizontal compacta de características */
.features-compact {
    margin-top: 2rem;
}

.feature-row-compact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-card-compact {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    width: 200px; /* Tamaño fijo más pequeño */
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.feature-card-compact:hover::before {
    left: 100%;
}

.feature-card-compact:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(175, 104, 209, 0.4);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(175, 104, 209, 0.2);
}

.feature-icon-wrapper-compact {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
}

.feature-icon-compact {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #AF68D1, #2B9DED);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card-compact:hover .feature-icon-compact {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2B9DED, #AF68D1);
}

.icon-pulse-compact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #AF68D1, #2B9DED);
    border-radius: 50%;
    animation: pulseCompact 2s infinite;
    opacity: 0.5;
}

.feature-title-compact {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

/* Animaciones compactas */
@keyframes pulseCompact {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Efectos de entrada para versión compacta */
.feature-card-compact {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card-compact.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* === RESPONSIVE COMPACTO === */
@media screen and (max-width: 1024px) {
    .feature-row-compact {
        gap: 1rem;
    }
    
    .feature-card-compact {
        width: 180px;
        min-height: 160px;
        padding: 1.2rem 1rem;
    }
    
    .feature-icon-wrapper-compact {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .about {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-quote p {
        font-size: 1.1rem;
    }
    
    .feature-row-compact {
        gap: 0.8rem;
    }
    
    .feature-card-compact {
        width: 160px;
        min-height: 140px;
        padding: 1rem 0.8rem;
    }
    
    .feature-title-compact {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 640px) {
    .feature-row-compact {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .feature-card-compact {
        width: calc(50% - 1rem);
        min-height: 130px;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .about-title {
        font-size: 2rem;
    }
    
    .feature-card-compact {
        width: calc(50% - 0.5rem);
        min-height: 120px;
        padding: 0.8rem 0.5rem;
    }
    
    .feature-icon-wrapper-compact {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }
    
    .feature-icon-compact svg {
        width: 25px;
        height: 25px;
    }
    
    .feature-title-compact {
        font-size: 0.8rem;
    }
}
body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/* === SERVICES SECTION === */
.services {
    position: relative;
    padding: 6rem 0;
    background: #0a0a0a;
    overflow: hidden;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.white-text {
    color: var(--text-light);
}

.services-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    /* Eliminamos el fondo gris */
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Tarjeta completa que ocupa toda la fila */
.service-card-full {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    min-height: 300px;
}

.service-card-full .service-image {
    flex: 1;
    height: auto;
    min-height: 300px;
}

.service-card-full .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 2rem;
}

.service-card-full .service-content h3 {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Imagen que cubre toda la carta */
.service-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.7); /* Imagen oscurecida por defecto */
}

.service-card:hover .service-image img {
    transform: scale(1.05);
    filter: brightness(1); /* Color original al hacer hover */
}

/* Overlay para oscurecer la imagen y mejorar legibilidad del texto */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.service-card:hover .image-overlay {
    opacity: 0.3; /* Reduce la opacidad al hacer hover */
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    z-index: 2;
    color: white;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.service-btn {
    display: inline-block;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(175, 104, 209, 0.4);
}

/* Para la tarjeta completa (impresión digital) */
.service-card-full .service-content {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.service-card-full:hover .service-content {
    background: rgba(0, 0, 0, 0.5);
}

/* Animaciones de entrada escalonadas */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }
.service-card:nth-child(7) { transition-delay: 0.7s; }

/* === RESPONSIVE SERVICES === */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card-full {
        grid-column: 1 / -1;
        flex-direction: column;
    }
    
    .service-card-full .service-image {
        height: 250px;
        min-height: auto;
    }
    
    .service-card-full .service-content {
        text-align: center;
        position: relative;
    }
    
    .service-card-full .service-content h3 {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .services-description {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-card {
        height: 300px; /* Altura fija para móviles */
    }
    
    .service-card-full .service-image {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .services-title {
        font-size: 2rem;
    }
    
    .services-container {
        padding: 0 1rem;
    }
    
    .service-card {
        height: 250px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card-full .service-image {
        height: 180px;
    }
}

/* === CONTACT SECTION === */
.contact {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Contenido principal */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Tarjeta de información de contacto */
.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(175, 104, 209, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.contact-info-card:hover::before {
    left: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(175, 104, 209, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-contact {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.contact-info-card:hover .logo-contact {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(175, 104, 209, 0.2));
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.contact-item:hover {
    background: rgba(175, 104, 209, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(45deg, #2B9DED, #AF68D1);
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.contact-text a, .contact-text p {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #AF68D1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(175, 104, 209, 0.3);
}

/* Formulario de contacto */
.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.contact-form-card:hover {
    border-color: rgba(43, 157, 237, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* === FORMULARIOS MEJORADOS - CORREGIDO === */
.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3rem; /* Más padding izquierdo para iconos */
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
    backdrop-filter: blur(10px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    padding-left: 3rem; /* Igual que los inputs */
}

.form-group select {
    padding-left: 3rem; /* Igual que los inputs */
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 3rem; /* Ajustado para considerar el padding del icono */
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
    background: transparent;
    padding: 0 0.5rem;
    border-radius: 4px;
}

/* Iconos para inputs - CORREGIDO */
.form-group .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 1.1rem;
}

.form-group:focus-within .input-icon {
    color: #2B9DED;
    transform: translateY(-50%) scale(1.1);
}

/* Para el textarea, el icono debe estar arriba */
.form-group.textarea-group .input-icon {
    top: 1.5rem;
    transform: translateY(0);
}

.form-group.textarea-group:focus-within .input-icon {
    top: 1.5rem;
    transform: scale(1.1);
}

/* Efectos de focus y hover mejorados */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #2B9DED;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(43, 157, 237, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

/* Animación del label - CORREGIDA */
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
    top: -0.6rem;
    left: 2.8rem;
    font-size: 0.8rem;
    color: #2B9DED;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border-left: 2px solid #2B9DED;
    border-right: 2px solid #2B9DED;
}

/* Select personalizado */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23AF68D1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.form-group select option {
    background: #1a1a2e;
    color: white;
    padding: 1rem;
}

/* Efecto de onda al hacer click */
@keyframes wave {
    0% {
        box-shadow: 0 0 0 0 rgba(43, 157, 237, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(43, 157, 237, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(43, 157, 237, 0);
    }
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    animation: wave 0.5s ease-out;
}

/* Placeholder personalizado */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Estados de validación */
.form-group.valid input:not(:placeholder-shown),
.form-group.valid textarea:not(:placeholder-shown) {
    border-color: #4CAF50;
}

.form-group.valid label {
    color: #4CAF50;
}

.form-group.invalid input:not(:placeholder-shown),
.form-group.invalid textarea:not(:placeholder-shown) {
    border-color: #f44336;
}

.form-group.invalid label {
    color: #f44336;
}

/* Mensajes del formulario */
.form-messages {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    display: none;
}

.form-messages.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.form-messages.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
}

.form-messages.loading {
    display: block;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid #2196F3;
    color: #2196F3;
}

/* Mejoras visuales para el estado de carga */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Botón de enviar - CORREGIDO (sin duplicados) */
.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(175, 104, 209, 0.3);
}

/* Efecto de pulso para campos requeridos */
.form-group:has(input:required) label::after,
.form-group:has(textarea:required) label::after {
    content: ' *';
    color: #AF68D1;
}

/* === RESPONSIVE MEJORADO === */
@media screen and (max-width: 768px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem 0.8rem 1rem 2.5rem;
        font-size: 16px;
    }
    
    .form-group label {
        left: 2.5rem;
    }
    
    .form-group .input-icon {
        left: 0.8rem;
        font-size: 1rem;
    }
    
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group select:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label {
        left: 2.3rem;
    }
}

@media screen and (max-width: 480px) {
    .form-group {
        margin-bottom: 2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem 0.8rem 0.8rem 2.2rem;
        border-radius: 8px;
    }
    
    .form-group label {
        left: 2.2rem;
    }
    
    .form-group .input-icon {
        left: 0.8rem;
        font-size: 0.9rem;
    }
    
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group select:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label {
        left: 2rem;
    }
}
/* Elementos flotantes decorativos */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* === RESPONSIVE CONTACT === */
@media screen and (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }
    
    .logo-contact {
        max-width: 150px;
    }
}

@media screen and (max-width: 480px) {
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .floating-element {
        display: none;
    }
}

/* === SOCIAL FLOATING STYLES === */
.social-float {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    pointer-events: none;
}

.social-float-bubble {
    position: relative;
    width: 60px;
    height: 60px;
    pointer-events: all;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-float-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.social-float-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

/* Colores específicos para cada red social */
.whatsapp-float .social-float-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.facebook-float .social-float-icon {
    background: linear-gradient(135deg, #1877F2, #0D5FAB);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.instagram-float .social-float-icon {
    background: linear-gradient(135deg, #E4405F, #FCAF45, #833AB4);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.3);
}

/* Tooltip */
.social-float-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: 25px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-float-arrow {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(255, 255, 255, 0.95);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Efecto de pulso */
.social-float-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

.whatsapp-float .social-float-pulse {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.facebook-float .social-float-pulse {
    background: linear-gradient(135deg, #1877F2, #0D5FAB);
}

.instagram-float .social-float-pulse {
    background: linear-gradient(135deg, #E4405F, #FCAF45, #833AB4);
}

/* Animaciones base */
@keyframes float-ani {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes pulse-ani {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes glow-ani {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(0, 0, 0, 0.5);
    }
}

/* Aplicar animaciones base */
.social-float-bubble {
    animation: float-ani 6s ease-in-out infinite;
}

.social-float-bubble:nth-child(1) { animation-delay: 0s; }
.social-float-bubble:nth-child(2) { animation-delay: 2s; }
.social-float-bubble:nth-child(3) { animation-delay: 4s; }

.social-float-pulse {
    animation: pulse-ani 3s ease-out infinite;
}

.social-float-bubble:nth-child(1) .social-float-pulse { animation-delay: 1s; }
.social-float-bubble:nth-child(2) .social-float-pulse { animation-delay: 2s; }
.social-float-bubble:nth-child(3) .social-float-pulse { animation-delay: 3s; }

/* Efectos Hover */
.social-float-bubble:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

.social-float-bubble:hover .social-float-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    animation: glow-ani 2s ease-in-out infinite;
}

.social-float-bubble:hover .social-float-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    right: 85px;
}

/* Efectos de partículas al hover */
.social-float-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-float-bubble:hover ~ .social-float-particles {
    opacity: 1;
}

/* Efectos especiales para cada red social al hover */
.whatsapp-float:hover .social-float-icon {
    background: linear-gradient(135deg, #25D366, #128C7E, #25D366);
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite;
}

.facebook-float:hover .social-float-icon {
    background: linear-gradient(135deg, #1877F2, #0D5FAB, #1877F2);
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite;
}

.instagram-float:hover .social-float-icon {
    background: linear-gradient(135deg, #E4405F, #FCAF45, #833AB4, #E4405F);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efecto de onda al hacer clic */
@keyframes clickWave {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.social-float-bubble:active .social-float-icon {
    animation: clickWave 0.5s ease-out;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .social-float {
        right: 15px;
        gap: 15px;
    }
    
    .social-float-bubble {
        width: 50px;
        height: 50px;
    }
    
    .social-float-icon {
        font-size: 1.2rem;
    }
    
    .social-float-tooltip {
        right: 65px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .social-float-bubble:hover .social-float-tooltip {
        right: 70px;
    }
}

@media screen and (max-width: 480px) {
    .social-float {
        right: 10px;
        gap: 12px;
    }
    
    .social-float-bubble {
        width: 45px;
        height: 45px;
    }
    
    .social-float-icon {
        font-size: 1.1rem;
    }
    
    .social-float-tooltip {
        display: none; /* Ocultar tooltip en móviles muy pequeños */
    }
}

/* Modo reducido de movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .social-float-bubble,
    .social-float-pulse,
    .social-float-icon {
        animation: none !important;
    }
    
    .social-float-bubble:hover .social-float-icon {
        transform: scale(1.1);
    }
}

/* Efecto de carga inicial */
@keyframes socialFloatAppear {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.social-float-bubble {
    animation: socialFloatAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
               float-ani 6s ease-in-out infinite 0.6s;
}

.social-float-bubble:nth-child(1) { animation-delay: 0.1s, 0.7s; }
.social-float-bubble:nth-child(2) { animation-delay: 0.2s, 2.7s; }
.social-float-bubble:nth-child(3) { animation-delay: 0.3s, 4.7s; }

/* === MAIN FOOTER STYLES === */
.main-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    transition: color 0.3s ease;
}

.footer-year {
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.footer-decoration {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #AF68D1, #2B9DED);
    opacity: 0.6;
    animation: footerDotPulse 2s ease-in-out infinite;
}

.footer-dot:nth-child(1) { animation-delay: 0s; }
.footer-dot:nth-child(2) { animation-delay: 0.5s; }
.footer-dot:nth-child(3) { animation-delay: 1s; }

@keyframes footerDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Efecto de partículas en el fondo del footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    animation: footerBgFloat 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerBgFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-10px, -5px) scale(1.02);
    }
    66% {
        transform: translate(5px, 10px) scale(0.98);
    }
}

/* Efecto hover en el texto */
.footer-text:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-text:hover .footer-year {
    background: linear-gradient(45deg, #2B9DED, #AF68D1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .main-footer {
        padding: 1.5rem 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .main-footer {
        padding: 1rem 0;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
    
    .footer-decoration {
        gap: 0.3rem;
    }
    
    .footer-dot {
        width: 4px;
        height: 4px;
    }
}

/* Modo reducido de movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .footer-dot,
    .main-footer::before {
        animation: none;
    }
    
    .footer-dot {
        opacity: 0.8;
    }
}

