/* Variables de Color y Reseteo */
:root {
    --bg-dark: #050505;
    --bg-surface: #111111;
    --text-primary: #ffffff;
    --text-muted: #888888;
    --accent-silver: #e2e2e2;
    --accent-glow: rgba(255, 255, 255, 0.05);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cursor Personalizado */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

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

/* Utilidades de Diseño */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
    scroll-margin-top: 70px;
}

/* Tipografía */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 0.1em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Botones */
.btn {
    display: inline-block;
    background-color: var(--text-primary);
    color: var(--bg-dark);
    padding: 15px 40px;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 400;
    border: 1px solid var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-slow);
    cursor: pointer;
    margin-top: 30px;
}

.btn:hover {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    width: 100%;
    margin-top: 20px;
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-dark);
}

/* Barra de Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-slow);
}

.navbar.scrolled {
    padding: 10px 5%;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
        /* Padding premium con más aire lateral */
    }

    .navbar.scrolled {
        padding: 10px 30px;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
}

.nav-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.3s;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px; /* Mayor área de contacto táctil */
    height: 44px;
    z-index: 1001;
    padding: 10px; /* Mejora la precisión del clic */
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animación Hamburguesa a X */
.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Sección Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagenes/imagen_fondo.png');
    background-size: cover;
    background-position: center;
    animation: slowZoom 25s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.72) 60%, rgba(5, 5, 5, 0.88) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
    padding: 0 5%;
    position: relative;
    /* mantenerse por encima de las partículas */
}

/* Indicador de Desplazamiento */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--accent-silver);
    border-radius: 15px;
    display: block;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--accent-silver);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.title {
    font-size: 5vw;
    font-weight: 200;
    margin-bottom: 30px;
    line-height: 1;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.9));
}

.title .font-kinnzo {
    display: block;
    font-family: 'THICCCBOI', var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding-left: 0.2em;
    /* Centra ópticamente el espaciado entre letras */
}

.title .font-creations {
    display: block;
    font-family: 'Bauhaus BC', sans-serif;
    font-weight: normal;
    font-size: 0.483em;
    /* 43 / 89 target ratio */
    margin-top: -0.2vw;
    /* Margen negativo reducido para que quede limpio debajo de KINNZO */
    letter-spacing: 0.632em;
    /* Mapeado desde el espaciado de diseño 632 */
    padding-left: 0.632em;
    /* Truco impecable de centrado de texto para el espaciado entre letras CSS */
}

.hero-content .description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Sección de Filosofía */
.philosophy {
    background-color: var(--bg-dark);
    position: relative;
    /* Agregando profundidad premium sutil al fondo de la sección */
    background-image: radial-gradient(circle at 50% 100%, rgba(20, 20, 20, 1) 0%, var(--bg-dark) 60%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: #080808;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Modern small rounding */
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    /* Glassmorphism touch */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
}

/* Animated top glowing border line */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateX(-100%);
    transition: 0.8s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    /* Flote dramático al pasar el mouse */
    background-color: #0c0c0c;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.05);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

/* Estilo de icono de nueva funcionalidad */
.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    margin-bottom: 25px;
    transition: var(--transition-slow);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01), 0 0 15px rgba(255, 255, 255, 0.02);
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.15);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Galería / Carrusel de Proyectos */
.showcase {
    background-color: #080808;
    position: relative;
}

.mySwiper {
    width: 100%;
    padding: 20px 0 70px 0;
    /* Espacio para paginación + cuadrícula de 2 filas */
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.work-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    /* subtle rounding */
    overflow: hidden;
    width: 100%;
    transition: var(--transition-slow);
    position: relative;
    cursor: grab;
}

.work-card:active {
    cursor: grabbing;
}

.work-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.work-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.work-card:hover .work-img {
    transform: scale(1.05);
}

.work-info {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, var(--bg-surface) 100%);
}

.work-info h3 {
    font-size: 1.4rem;
    color: var(--accent-silver);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.work-info p {
    font-size: 0.95rem;
}

/* Swiper custom UI */
.swiper-pagination-bullet {
    background: var(--text-muted) !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-silver) !important;
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-primary) !important;
    background: rgba(0, 0, 0, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--text-primary);
    color: var(--bg-dark) !important;
}

/* =========================================
   CÓMO TRABAJAMOS (WORKFLOW)
   ========================================= */
.como-trabajamos {
    position: relative;
    background-color: var(--bg-dark);
}

.como-trabajamos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.paso-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.paso-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.paso-numero {
    position: absolute;
    top: -15px;
    left: 10px;
    text-align: left;
    font-size: 8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: color 0.5s;
}

.paso-card:hover .paso-numero {
    color: rgba(255, 255, 255, 0.06);
}

.paso-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.paso-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.paso-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* =========================================
   FAQ (PREGUNTAS FRECUENTES)
   ========================================= */
.faq {
    background-color: #050505;
}

.faq-container {
    max-width: 850px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-question i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

.faq-question:hover {
    color: #fff;
}

.faq-question:hover i {
    color: #fff;
}

.faq-question.active i {
    transform: rotate(180deg);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 24px;
    padding-right: 20px;
}

/* Rediseño de la Sección de Contacto */
.contact {
    background-color: var(--bg-surface);
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
}

.contact::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-info .section-eyebrow {
    margin-bottom: 10px;
}

.contact-info h2.title-glow {
    font-size: 3rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 100%;
}

@media (max-width: 600px) {
    .contact-cards-container {
        grid-template-columns: 1fr;
    }
}

.contact-btn-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-primary);
    text-align: left;
}

.contact-btn-card .c-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: 0.4s;
}

.contact-btn-card .c-text {
    display: flex;
    flex-direction: column;
}

.contact-btn-card .c-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-btn-card .c-text strong {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.contact-btn-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.whatsapp-card:hover .c-icon {
    background: #25D366;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.instagram-card:hover .c-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(220, 39, 67, 0.5);
}

.facebook-card:hover .c-icon {
    background: #1877F2;
    /* Facebook Blue */
    color: #fff;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.5);
}

.tiktok-card:hover .c-icon {
    background: #000;
    /* TikTok Dark */
    color: #FE2C55;
    /* TikTok Pink */
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.4), 0 0 10px rgba(37, 244, 238, 0.4);
}




.checkbox-container input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-container label {
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

/* Pie de página */
.footer {
    padding: 40px 0;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-slow);
}

.social-links a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 0.85rem;
}

/* ──────────────────────────────────────────
   Nuestros Proyectos
────────────────────────────────────────── */
.proyectos {
    background-color: var(--bg-dark);
}

.proyectos {
    background-color: #050505;
    /* Base negro profundo */
    position: relative;
    overflow: hidden;
}

/* 3D Blueprint/Tech Grid background effect */
.proyectos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    /* Tamaño de cuadrícula estilo plano técnico */
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* Subtle glowing light from the center behind the grid */
.proyectos::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.proyectos-carousel-wrapper {
    position: relative;
    padding: 0 70px;
    /* Horizontal space for buttons outside the slider */
}

.proyectosSwiper {
    width: 100%;
    padding: 20px 0 70px 0;
    /* Space for pagination and rows */
}

/* Swiper custom UI */
.swiper-pagination-bullet {
    background: var(--text-muted) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-silver) !important;
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-primary) !important;
    background: rgba(0, 0, 0, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-28px);
    /* Optical recentering accounting for bottom pagination padding */
    transition: 0.5s;
}

/* Stick exactly to the wrapper padding */
.proyectos-prev {
    left: 10px !important;
}

.proyectos-next {
    right: 10px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--text-primary);
    color: var(--bg-dark) !important;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.proyecto-card {
    width: 100%;
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Match new modern rounding */
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    /* Base shadow */
}

.proyecto-card:hover {
    transform: translateY(-12px) scale(1.02);
    /* Pop out effect */
    background-color: #0c0c0c;
    border-color: rgba(255, 255, 255, 0.2);
    /* Glow border */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.05);
    /* Premium glowing shadow */
}

.proyecto-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.proyecto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    filter: brightness(0.9);
    /* Slightly dark initially */
}

.proyecto-card:hover .proyecto-img img {
    transform: scale(1.1) rotate(1deg);
    /* Subtle cinematic zoom and tilt */
    filter: brightness(1.1);
    /* Brighter on hover */
}

.proyecto-info {
    padding: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.proyecto-info h3 {
    font-size: 1.2rem;
    color: var(--accent-silver);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.proyecto-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ──────────────────────────────────────────
   Nuestros Clientes (Marquee Section)
────────────────────────────────────────── */
.partners {
    background-color: #050505;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.partners-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    width: calc(320px * 20);
    animation: scroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 45px;
}

.marquee-item img {
    max-width: 220px;
    max-height: 110px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: var(--transition-slow);
}

.marquee-item img:hover {
    filter: brightness(1.2) contrast(1.2);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 10));
    }
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 80px;
    background-color: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    right: 75px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* =========================================
   ESTILOS RESPONSIVOS UNIFICADOS
   ========================================= */

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #050505;
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
        opacity: 1;
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.5rem;
        opacity: 1;
    }

    .hamburger {
        display: flex !important;
    }
}

@media (max-width: 768px) {

    .section::before,
    .section::after,
    .proyectos::before,
    .proyectos::after,
    .como-trabajamos::before,
    .contact::before,
    .philosophy::before,
    .hero-bg-img::after {
        display: none !important;
        background: none !important;
        content: none !important;
    }

    .section,
    .proyectos,
    .como-trabajamos,
    .philosophy {
        background-color: #050505 !important;
        background-image: none !important;
    }

    .navbar {
        padding: 15px 25px !important;
    }

    .section {
        padding: 60px 0;
    }

    .title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.1;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .proyectos-carousel-wrapper {
        padding: 0 10px;
    }

    .proyectosSwiper {
        padding: 0 0 50px 0;
    }

    .proyectos-prev,
    .proyectos-next {
        display: none !important;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .proceso-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .whatsapp-float .tooltip {
        display: none;
    }

    .paso-card {
        background-color: #111;
        border-color: rgba(255, 255, 255, 0.08);
    }

    .paso-card h3 {
        color: #fff;
    }

    .paso-card p {
        color: #ddd;
        /* Better contrast */
    }

.cta-highlight {
    color: var(--accent-silver);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
}
}