/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --bg-color: #0d0d11;
    --surface-color: #1a1a23;
    --primary-color: #6366f1;
    --secondary-color: #d946ef;
    --accent-color: #06b6d4;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --glow: 0 0 20px rgba(99, 102, 241, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: var(--glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.4);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
/* --- Estilos del Header Premium --- */
header {
    position: fixed;
    top: 20px; /* Separación del borde superior para efecto flotante */
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

/* Efecto de cristal cuando se hace scroll (se puede activar con JS) */
header.scrolled {
    top: 0;

    padding: 6px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 100px; /* Bordes redondeados tipo píldora */
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo .dot {
    color: var(--secondary-color);
    animation: pulse-dot 2s infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-links li{
    display: flex;
}

.nav-item {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.nav-item:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-nav {
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
}

/* --- Menú Hamburguesa --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.4s;
    border-radius: 2px;
}

/* --- Responsive (Móvil) --- */
@media (max-width: 968px) {
    header {
        top: 0;
        padding: 15px 0;
    }

    .nav-wrapper {
        border-radius: 20px;
        padding: 15px 25px;
    }

    .hamburger {
        display: flex;
    }

    /* Menú que entra desde la derecha o arriba */
    .nav-links {
        position: fixed;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }


    .nav-item {
        font-size: 1.5rem;
    }

    /* Animación de Hamburguesa a X */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@keyframes pulse-dot {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}






/* Hero Section */
/* --- Mejoras de Estilo para la Hero Section --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}
.hero-grid{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

/* Badge Superior */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeUp 0.8s ease-out;
}

/* Tipografía y Espaciado */
.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem); /* Tamaño fluido */
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-btns {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    animation: fadeUp 0.8s ease-out 0.4s backwards;
}

/* Botón Outline */
.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
}

/* --- Lado Derecho: Composición Visual --- */

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-image-card {
    position: relative;
    width: 400px;
    height: 400px;
    background: var(--gradient-main);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    animation: blob-animation 10s infinite alternate, float 6s ease-in-out infinite;
}

.card-inner {
    font-size: 6rem;
    color: white;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* Mini tarjetas flotantes */
.floating-card {
    position: absolute;
    background: rgba(26, 26, 35, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    z-index: 20;
}

.stat-card-mini {
    top: 10%;
    right: -10%;
    animation: float 5s ease-in-out infinite reverse;
}

.stat-card-mini span {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
}

.feat-card-mini {
    bottom: 15%;
    left: -15%;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 7s ease-in-out infinite;
}

.feat-card-mini i {
    color: var(--accent-color);
}

/* Formas Decorativas de Fondo */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 15%;
    animation: float 8s infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    bottom: 15%;
    right: 15%;
}

/* --- Animaciones Nuevas --- */

@keyframes blob-animation {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
}

/* Ajuste Responsive */
@media (max-width: 968px) {
    .hero-grid{
        flex-direction: column;
        gap: 1rem;
    }
    .hero-image-wrapper {
        margin-top: 4rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-image-card {
        width: 300px;
        height: 300px;
    }
}



/* Services */
/* --- Services Section Premium --- */
.services {
    padding: 10rem 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 40%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    position: relative;
    background: var(--surface-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Efecto de borde brillante al hover */
.card-border {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 24px;
    padding: 2px; /* Grosor del borde */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
}

.service-card:hover .card-border {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Número de servicio estilizado */
.service-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-heading);
    transition: 0.4s;
}

.service-card:hover .service-number {
    color: rgba(99, 102, 241, 0.1);
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: 0.4s;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

/* Enlace "Saber más" */
.service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: 0.3s;
}

.service-link i {
    transition: transform 0.3s;
}

.service-card:hover .service-link {
    gap: 15px;
    color: var(--secondary-color);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}




/* Portfolio */
/* --- Portfolio Section Premium --- */
.portfolio {
    padding: 10rem 0;
    background: var(--bg-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-img-container {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: brightness(0.7) grayscale(0.2);
}

/* Overlay Estilo Glassmorphism */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(13, 13, 17, 0.9) 0%, 
        rgba(13, 13, 17, 0.4) 50%,
        transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item .tag {
    background: var(--gradient-main);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    box-shadow: var(--glow);
}

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.portfolio-overlay p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Enlace de Acción */
.view-project {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
    transition: 0.3s;
}

.view-project:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- HOVER EFFECTS --- */
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
    filter: brightness(1) grayscale(0);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

/* Ajuste para móvil */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-overlay {
        opacity: 1; /* Siempre visible en móviles */
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }
    .overlay-content {
        transform: translateY(0);
    }
}

/* Contact */
/* --- Ultra Contact Card --- */
.contact {
    padding: 8rem 0;
    background: var(--bg-color);
}

.contact-card {
    position: relative;
    background: var(--surface-color);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    padding: 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Efecto de resplandor en la esquina */
.card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* --- Sidebar (Izquierda) --- */
.badge-mini {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.contact-sidebar h3 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-sidebar p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-list-new .c-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.c-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.social-minimal {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-minimal a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-minimal a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Formulario (Derecha) --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-box {
    margin-bottom: 1.5rem;
}

.input-box input, .input-box textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 18px 25px;
    border-radius: 15px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.input-box textarea {
    height: 150px;
    resize: none;
}

.input-box input:focus, .input-box textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.btn-full {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .contact-card {
        padding: 2.5rem;
        border-radius: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-sidebar {
        text-align: center;
    }
    .contact-list-new .c-item, .social-minimal {
        justify-content: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .cta-group {
        flex-direction: column;
    }
    .hero-btns{
        flex-direction: column;
    }
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* ... previous responsive styles ... */
@media (max-width: 968px) {
    .hero-grid, .contact-container, .about-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p, .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .contact-container {
        padding: 2rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}







/* About Section */
/* --- About Section Mejorada --- */
.about {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

/* --- Composición de Imagen --- */
.about-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: visible;
}

.main-img {
    width: 100%;
    border-radius: 24px;
    filter: saturate(1.1) brightness(0.9);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-wrapper:hover .main-img {
    transform: scale(1.02) translateY(-10px);
}

/* Tarjeta flotante sobre la imagen */
.image-overlay-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(26, 26, 35, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    animation: float 4s ease-in-out infinite;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.blob-gradient {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    z-index: 1;
}

/* --- Contenido de Texto --- */
.section-tag {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    margin-bottom: 3rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
}

.about-features i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* --- Tarjetas de Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    filter: blur(40px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.stat-card:hover .stat-glow {
    opacity: 0.1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    position: relative;
}

/* Responsive */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-image-container {
        order: 2;
    }
    .image-overlay-card {
        right: 10px;
        bottom: 10px;
    }
}




/* Clients / Logo Ticker */
.clients {
    padding: 4rem 0;
    background: #111116;
    overflow: hidden;
    position: relative;
}

.clients::before, .clients::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.clients::before {
    left: 0;
    background: linear-gradient(to right, #111116, transparent);
}

.clients::after {
    right: 0;
    background: linear-gradient(to left, #111116, transparent);
}

.ticker-wrap {
    width: 100%;
    display: flex;
    overflow: hidden;
}

.ticker {
    display: flex;
    gap: 4rem;
    animation: ticker 30s linear infinite;
    flex-shrink: 0;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.6;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-logo:hover {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}




/* Testimonials */
/* --- Testimonials Section Premium --- */
.testimonials {
    padding: 10rem 0;
    background: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.testimonial-card {
    background: var(--surface-color);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.4s ease;
}

/* Tarjeta destacada sutilmente */
.testimonial-card.featured {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: #fbbf24; /* Color Oro */
    font-size: 0.8rem;
    display: flex;
    gap: 4px;
}

.quote-icon {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.testimonial-text strong {
    color: var(--secondary-color);
}

/* Info del Cliente */
.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-main);
}

.client-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--surface-color);
}

.client-details h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2px;
}

.client-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- HOVER --- */
.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.testimonial-card:hover .quote-icon {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}




/* Process */
/* --- Process Section Premium --- */
.process {
    padding: 10rem 0;
    background: var(--bg-color);
    position: relative;
}

.process-wrapper {
    position: relative;
    margin-top: 4rem;
}

/* Línea Conectora */
.process-line {
    position: absolute;
    top: 40px; /* Alineada con el centro de los iconos */
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(to right, 
        transparent, 
        var(--primary-color), 
        var(--secondary-color), 
        transparent);
    z-index: 1;
    opacity: 0.3;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
    transition: 0.4s;
}

/* Encabezado del paso (Numero e Icono) */
.step-header {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-muted);
    background: var(--bg-color);
    padding: 0 15px;
    margin-bottom: 1rem;
    z-index: 3;
    transition: 0.3s;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--surface-color);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Efecto de resplandor en el icono */
.step-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transition: 0.4s;
    transform: scale(1.2);
}

.step-body h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.step-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0 10px;
    line-height: 1.6;
}

/* --- HOVER EFFECTS --- */
.process-step:hover .step-icon {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(217, 70, 239, 0.3);
}

.process-step:hover .step-icon::after {
    opacity: 1;
    transform: scale(1.1);
}

.process-step:hover .step-number {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 968px) {
    .process-line {
        display: none; /* Quitamos la línea en móvil */
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .process-step {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 2rem;
    }
    .step-header {
        margin-bottom: 0;
    }
}



/* Team */
/* --- Team Section Premium --- */
.team {
    padding: 8rem 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.team-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contenedor de Imagen */
.team-img-wrapper {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Efecto artístico inicial */
    transition: all 0.6s ease;
    transform: scale(1.05);
}

/* Redes Sociales Flotantes */
.team-socials {
    position: absolute;
    top: 20px;
    right: -60px; /* Escondido por defecto */
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: 0.4s ease;
    z-index: 10;
}

.team-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.team-socials a:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Bloque de Información */
.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    z-index: 5;
    transition: 0.4s ease;
}

.info-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1;
    transition: 0.4s;
}

.team-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.4s ease;
}

.team-info h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #fff;
    transition: 0.4s;
}

/* --- HOVER EFFECTS --- */
.team-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.team-card:hover .team-img {
    filter: grayscale(0%);
    transform: scale(1);
}

.team-card:hover .team-socials {
    right: 20px;
}

.team-card:hover .team-role {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-info {
    transform: translateY(-5px);
}

.team-card:hover .info-bg {
    height: 120%; /* El gradiente sube para mejor lectura */
}

/* Responsive */
@media (max-width: 480px) {
    .team-img-wrapper {
        height: 320px;
    }
}




/* FAQ */
/* --- FAQ Section Premium --- */
.faq {
    padding: 10rem 0;
    background: var(--bg-color);
}

.faq-grid {
    max-width: 850px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.8rem 2.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.faq-question span {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-heading);
}

.faq-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Estado Activo --- */
.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: #fff;
}

.faq-answer {
    max-height: 0; /* Cerrado por defecto */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Suficiente para el contenido */
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.answer-content {
    padding: 0 2.5rem 2.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.answer-content strong {
    color: var(--secondary-color);
}

/* Hover sutil */
.faq-item:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}
/* CTA Section */
/* --- CTA Full Width Section --- */
.cta-full {
    width: 100%;
    min-height: 80vh;
    background-color: #08080b; /* Un tono más oscuro que el fondo general */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-full-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    align-items: center;
}

/* --- Contenido (Izquierda) --- */
.cta-full-content {
    padding: 10% 8% 10% 12%; /* Espaciado generoso para que respire */
    z-index: 5;
}
.reveal-content{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.eyebrow {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1.5rem;
}

.display-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -3px;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.btn-lg {
    padding: 20px 45px;
    font-size: 1.1rem;
}

.link-secondary {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.link-secondary:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* --- Visuales (Derecha) --- */
.cta-full-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animación de Órbita */
.visual-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--primary-color);
    z-index: 10;
}

.pulse-icon {
    animation: pulse-glow 3s infinite;
}

.orbit-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.ring-1 { width: 150px; height: 150px; animation: rotate 10s linear infinite; border-top: 2px solid var(--primary-color); }
.ring-2 { width: 300px; height: 300px; animation: rotate 15s linear infinite reverse; border-bottom: 2px solid var(--secondary-color); }
.ring-3 { width: 450px; height: 450px; animation: rotate 20s linear infinite; }

/* Fondo de Brillo */
.glow-bg {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(217, 70, 239, 0.15), transparent 60%);
    pointer-events: none;
}

/* --- Animaciones --- */
@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px var(--primary-color)); transform: scale(1) translate(-50%, -50%); }
    50% { filter: drop-shadow(0 0 30px var(--secondary-color)); transform: scale(1.1) translate(-50%, -50%); }
}

/* Responsive */
@media (max-width: 1024px) {
    .cta-full-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cta-full-content {
        padding: 15% 5%;
    }
    .cta-group {
        justify-content: center;
    }
    .cta-full-visual {
        min-height: 400px;
    }
    .lead-text {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(26, 26, 35, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.lang-btn:hover, .lang-btn.active {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    border-color: var(--primary-color);
}

/* Enhanced Footer */
footer {
    padding: 6rem 0 2rem;
    background: #050507;
    border-top: 1px solid var(--glass-border);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
