:root {
    --primary-color: #ea580c; /* Naranja fuerte y sólido */
    --primary-light: #f97316; /* Naranja un tono más brillante */
    --text-color: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: #111;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Barra de Navegación estilo Apple (Flotante y transparente) */
.top-nav {
    position: fixed;
    top: 20px; /* Separado del borde superior */
    left: 50%;
    transform: translateX(-50%); /* Centrado perfecto */
    width: 90%;
    max-width: 800px; /* Reducida en los extremos */
    background-color: rgba(224, 242, 254, 0.3); /* Celeste muy suave y casi transparente */
    z-index: 1000;
    backdrop-filter: blur(15px); /* Efecto cristalino fuerte como Apple */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 50px; /* Bordes redondeados (estilo píldora) */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.5rem 1.5rem; /* Más delgada (menos espacio vertical) */
    margin: 0;
}

.top-nav li a {
    text-decoration: none;
    color: #000; /* Letras color negro */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Efecto hover estilo Apple: un fondo sutil o cambio de opacidad */
.top-nav li a:hover {
    background-color: rgba(0, 0, 0, 0.08); /* Fondo sutil al hacer hover */
    color: #000;
}

/* 
  El contenedor hero-container tiene una altura mayor a 100vh 
  para permitir hacer "scroll" mientras la section interior se mantiene fija
*/
.hero-container {
    height: 300vh; /* Permite 3 pantallas de scroll para la animación */
    position: relative;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* La transición del filtro será manejada por JS basado en el scroll */
    will-change: filter, transform;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-title {
    font-size: clamp(1.8rem, 4vw, 3.8rem); /* Tamaño más chico y elegante */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.5);
    /* Animación inicial sutil */
    animation: fadeInUp 1s ease-out forwards;
}

.highlight {
    color: #f1c40f; /* Un toque de color cálido para contrastar con el fondo */
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hidden-elements {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    /* No ocupará espacio hasta que no se anime un poco, aunque con flex no importa tanto */
}

.subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 1px 2px 10px rgba(0,0,0,0.6);
    /* Posición inicial fuera de pantalla por la izquierda */
    transform: translateX(-150vw);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #d8dcde 0%, #b0b5b9 100%);
    color: #222; /* Texto oscuro para contrastar con el gris claro */
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 700; /* Un poco más de peso para resaltar sobre el gris */
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.6); /* Sombra exterior y brillo interior metalizado */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Posición inicial fuera de pantalla por la derecha */
    transform: translateX(150vw);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 1s ease 0.1s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ffffff 0%, #d8dcde 100%);
    transform: translateY(-3px) scale(1.05) !important; /* El important aquí ayuda a sobreescribir el translateX cuando ya está visible */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 2px 8px rgba(255, 255, 255, 0.9);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Clases que se añaden con JS al hacer scroll */
.hero-content.scrolled .subtitle {
    transform: translateX(0);
    opacity: 1;
}

.hero-content.scrolled .cta-button {
    transform: translateX(0);
    opacity: 1;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: opacity 0.5s ease;
    animation: fadeIn 2s ease forwards;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

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

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

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* --- Barra de Confianza --- */
.trust-bar {
    background-color: #1a1c1e; /* Fondo oscuro y elegante */
    padding: 5rem 2rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: flex-start;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Configuración inicial para la animación de scroll */
    opacity: 0;
    transform: translateY(40px);
}

.trust-bar.visible .trust-item {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto en cascada para la animación */
.trust-bar.visible .trust-item:nth-child(1) { transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.trust-bar.visible .trust-item:nth-child(2) { transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }
.trust-bar.visible .trust-item:nth-child(3) { transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s; }

.trust-item:hover {
    transform: translateY(-5px) !important; /* El important mantiene el hover por sobre la clase .visible */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(224, 242, 254, 0.2);
}

.trust-icon {
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.1) 0%, rgba(224, 242, 254, 0.02) 100%);
    color: var(--primary-light);
    padding: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e0f2fe; /* Tono celeste para combinar */
    margin-bottom: 0.5rem;
}

.trust-text p {
    font-size: 1rem;
    color: #a0aab2;
    line-height: 1.5;
}

/* --- Sección de Servicios --- */
.services-section {
    background-color: #111;
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-block;
    background-color: rgba(234, 88, 12, 0.1); /* Tono naranja oscuro muy sutil */
    color: var(--primary-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.services-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: #fff;
}

.services-header p {
    font-size: 1.1rem;
    color: #a0aab2;
    line-height: 1.6;
}

.services-header strong {
    color: #fff;
}

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

.service-card {
    background: #1a1c1e;
    border-radius: 24px; /* Bordes redondeados y no cuadrados */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

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

.card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #2a2d30; /* Color por defecto si no carga la imagen */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-image {
    transform: scale(1.1); /* Efecto interactivo al pasar el mouse */
}

.card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, #1a1c1e 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.card-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    pointer-events: none;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-content p {
    color: #a0aab2;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Sección de Trabajos Realizados --- */
.portfolio-section {
    background-color: #1a1c1e; /* Fondo ligeramente diferente para contraste */
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
    overflow: hidden; /* Importante para que no se vea el texto antes de entrar */
}

.portfolio-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.portfolio-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #fff;
}

.portfolio-header p {
    font-size: 1.15rem;
    color: #a0aab2;
    line-height: 1.6;
}

/* Clases para animación de entrada lateral */
.slide-in-text {
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.slide-in-text.left {
    transform: translateX(-150px);
}

.slide-in-text.right {
    transform: translateX(150px);
}

.services-section.visible .slide-in-text,
.portfolio-section.visible .slide-in-text,
.testimonials-section.visible .slide-in-text,
.contact-section.visible .slide-in-text {
    opacity: 1;
    transform: translateX(0);
}

/* Galería Horizontal */
.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-gallery {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Snap para que encaje perfecto en cada imagen */
    padding-bottom: 1.5rem;
    /* Ocultar barra de scroll nativa para usar la nuestra */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.portfolio-card {
    width: 100%; /* Ocupa todo el ancho disponible del contenedor */
    flex: 0 0 100%;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    scroll-snap-align: start; /* Para que al deslizar se frene justo en la imagen */
}

/* Contenedor de Imagen de Proyecto (Imagen única con el Antes/Después integrado) */
.project-image-container {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #222;
}

/* Mini logo para tapar marcas de agua usando la imagen del usuario */
.watermark-cover {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px; 
    height: 120px; 
    /* Cambia 'logo.png' por el nombre exacto de tu logo si es necesario (ej: logo.jpg) */
    background-image: url('logo.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #111; /* Parche oscuro sólido para tapar definitivamente la marca de agua */
    border-top-left-radius: 15px; /* Suavizar el borde del parche */
    z-index: 5;
    pointer-events: none; 
    box-shadow: -5px -5px 15px rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: #a0aab2;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Sección de Testimonios (Efecto 3D Dinámico) --- */
.testimonials-section {
    padding: 6rem 2rem;
    background-color: #0f1012;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.testimonials-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 1rem;
}

.testimonials-header p {
    color: #a0aab2;
    font-size: 1.1rem;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Para móviles */
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial-card {
    background: #1a1c1e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 340px;
    position: relative;
    box-shadow: -15px 15px 30px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efecto de superposición en desktop */
@media (min-width: 769px) {
    .testimonial-card:not(:first-child) {
        margin-left: -80px; /* Las tarjetas se pisan entre sí */
    }
    
    .testimonial-card:hover {
        transform: translateY(-25px) scale(1.05) rotate(2deg);
        z-index: 10;
        box-shadow: -15px 25px 40px rgba(0,0,0,0.7);
        border-color: var(--primary-light);
    }
}

.stars {
    color: #fbbf24; /* Dorado/Amarillo */
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: #d1d5db;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    background-size: cover;
    background-position: center;
}

.client-info h4 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
}

.client-info span {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Sección de Contacto --- */
.contact-section {
    padding: 6rem 2rem;
    background-color: #151719;
    position: relative;
    overflow: hidden;
}

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

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-info p {
    color: #a0aab2;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact-item:hover {
    color: var(--primary-light);
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

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

.social-icon:hover {
    background: var(--primary-color);
    color: #111;
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-form {
    background: #1a1c1e;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05); /* Gris muy sutil para focus */
}

/* Arreglar el fondo blanco del menú de opciones nativo */
.input-group select option {
    background-color: #1a1c1e; /* Fondo oscuro */
    color: #fff; /* Letras blancas */
}

.form-btn {
    width: auto;
    align-self: center; /* Centrarlo en el flex column del formulario */
    padding: 0.8rem 2rem !important; /* Reducir tamaño respecto al cta-button original */
    font-size: 1rem !important;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    /* Anular la animación inicial de .cta-button para que siempre sea visible aquí */
    transform: none !important;
    opacity: 1 !important;
    justify-content: center; /* Centrar el texto */
    transition: all 0.3s ease;
}

.form-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%) !important;
    color: #fff !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.3) !important;
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #1ebd5a;
}

/* Barra Deslizable Personalizada */
.custom-scrollbar-container {
    margin-top: 1rem;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

.gallery-slider {
    -webkit-appearance: none;
    width: 50%;
    min-width: 200px;
    height: 6px;
    background: #333;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.gallery-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 15px;
    border-radius: 10px;
    background: var(--primary-light);
    cursor: grab;
    transition: background 0.3s;
}

.gallery-slider::-webkit-slider-thumb:hover {
    background: #fff;
}

.gallery-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.5rem;
    }
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* Solución para que los testimonios se vean en formato slider horizontal en celular */
    .testimonials-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 2rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    
    .testimonials-container::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-card {
        width: 85%; /* 85% para que se asome la siguiente tarjeta y el usuario sepa que puede deslizar */
        flex: 0 0 85%;
        margin-left: 0;
        scroll-snap-align: center;
    }

    /* Solución para que las fotos de trabajos no se vean tan cortadas (ajuste de altura) */
    .project-image-container {
        height: 35vh;
        min-height: 250px;
    }

    /* Ajuste de barra de navegación superior en móviles */
    .top-nav {
        width: 96%;
    }
    .top-nav ul {
        gap: 0.2rem;
        padding: 0.5rem 0.2rem;
        justify-content: space-evenly;
    }
    .top-nav li a {
        font-size: 0.65rem;
        padding: 0.3rem 0.2rem;
        letter-spacing: 0; /* Quitar el espaciado entre letras para ahorrar espacio */
    }
}
