/* =========================
   RESET Y ESTILO GENERAL
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================
   ENCABEZADO Y NAVEGACIÓN
=========================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 0.8rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1.2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00ff88;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 1100;
    cursor: pointer;
}

.social-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 0.5rem;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border-color 0.2s;
}

.social-icon:hover {
    border-color: #00ff88;
}

/* Acercar los iconos de redes sociales en el header */
nav ul li:has(.social-icon) {
    margin: 0 0.4rem;
}

/* =========================
   SECCIÓN HERO
=========================== */
.fullscreen-hero-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Esto pega el contenido al fondo */
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('imagenes/Portada.png') no-repeat center bottom/cover;
    /* Cambia 'center center' por 'center bottom' para pegar la imagen al fondo */
    padding: 0; 
    margin-bottom: -15px; /* Asegúrate que no haya padding extra */
}

#hero {
    margin: auto 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content {
    max-width: 1200px;
    width: 65%;
    text-align: left;
}

.hero-left h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.slogan-text {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    color: #fff;
    margin: 1rem 0;
    font-weight: bold;
}

.scroll-down {
    text-align: center;
    color: #fff;
    opacity: 0.8;
    animation: bounce 2s infinite;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-down p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.arrow-down {
    font-size: 2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

/* =========================
   CONTENIDO PRINCIPAL
=========================== */
.full-width-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    padding-top: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
   SECCIÓN ABOUT
=========================== */
#about {
    background-color: #fff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0;
    color: #333;
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

#about .section-title {
    color: #333;
}

#about .about-logo {
    width: clamp(40px, 8vw, 60px);
    margin-left: 1rem;
    vertical-align: middle;
}

#about p {
    color: #333;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.about-content-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.about-text-container {
    flex: 1 1 0;
    min-width: 220px;
    padding-right: 20px;
}

.about-image-container {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}



/* =========================
   SECCIÓN QUANTUM LEAPS
=========================== */
#quantum-leaps {
    padding: 4rem 0;
    background-color: #0a0a0a;
    color: #fff;
}

.quantum-leaps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quantum-leaps-list h3 {
    color: #00ff88;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.quantum-leaps-list ul {
    list-style: none;
}

.quantum-leaps-list li {
    background-color: rgba(255,255,255,0.05);
    border-left: 3px solid #00ff88;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    transition: transform 0.2s, background-color 0.2s;
}

.quantum-leaps-list li:hover {
    transform: translateY(-5px);
    background-color: rgba(255,255,255,0.1);
}

.quantum-leaps-list h4 {
    color: #fff;
    font-size: clamp(1.1em, 3vw, 1.4em);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.quantum-leaps-list p {
    color: #e0e0e0;
    font-size: clamp(0.9em, 2.5vw, 1em);
}

/* =========================
   SECCIÓN KEY PROJECTS
=========================== */
#key-projects {
    background-color: #0a0a0a;
    padding: 4rem 2rem;
    color: #fff;
}

.project-item {
    background-color: rgba(255,255,255,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 3px solid #00ff88;
    text-align: left;
}

.project-item h3 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    color: #00ff88;
    margin-bottom: 0.5rem;
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
}

.project-item p {
    color: #e0e0e0;
    font-size: clamp(0.95em, 2.5vw, 1.1em);
}

.key-projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.project-item.project-left,
.project-item.project-right {
    text-align: left;
    border-left: 3px solid #00ff88;
    border-right: none;
}

/* =========================
   PIE DE PÁGINA
=========================== */
footer {
    text-align: center;
    padding: 2rem;
    background: #000;
    color: #fff;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links li {
    display: flex;
    align-items: center;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #222;
    padding: 6px;
    transition: background 0.2s;
    box-sizing: border-box;
    display: block;
}

.footer-links a:hover .footer-social-icon {
    background: #00ff88;
}

/* =========================
   RESPONSIVE: TABLET Y MÓVIL
=========================== */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        padding-top: 4rem;
        gap: 1.5rem;
        box-shadow: -2px 0 12px rgba(0,0,0,0.3);
        transform: translateX(100%);
        transition: transform 0.3s;
        z-index: 1050;
    }
    nav ul.open {
        transform: translateX(0);
    }
    header {
        position: relative;
    }
    .fullscreen-hero-wrapper {
        height: auto;
        min-height: 70vh;
    }
    .hero-content {
        width: 95%;
        max-width: 700px;
        padding: 1rem 0;
    }
    .about-content-inner {
        flex-direction: column;
        gap: 32px;
    }
    .about-text-container,
    .about-image-container {
        min-width: 0;
        width: 100%;
        padding: 0;
    }
    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }
    .quantum-leaps-container,
    .project-item,
    .about-content {
        padding: 0 1rem;
    }
    .footer-links {
        gap: 1rem;
    }
    .key-projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 1rem;
        padding: 0;
    }
    header {
        padding: 0.5rem 0;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    nav ul li {
        margin: 0.3rem 0;
    }
    .hero-content {
        width: 100%;
        padding: 0 0.5rem;
        text-align: center;
    }
    .hero-left h1 {
        font-size: 2rem;
    }
    .slogan-text {
        font-size: 1.1rem;
    }
    .scroll-down {
        margin-bottom: 1rem;
    }
    .full-width-main {
        padding: 0.5rem;
    }
    #about {
        padding: 2rem 0;
    }
    .about-content {
        padding: 0 0.5rem;
    }
    .about-content-inner {
        flex-direction: column;
        gap: 20px;
    }
    .about-image {
        max-width: 90vw;
        margin: 0 auto;
    }
    .section-title {
        font-size: 1.3rem;
        text-align: center;
        justify-content: center;
    }
    .quantum-leaps-list h3 {
        font-size: 1.2rem;
    }
    .quantum-leaps-list li {
        padding: 0.7rem 0.7rem;
    }
    .project-item {
        padding: 0.5rem;
    }
    .footer-links {
        gap: 0.7rem;
    }
    .footer-social-icon {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 400px) {
    .hero-left h1 {
        font-size: 2rem;
    }
    .slogan-text {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .about-image {
        max-width: 98vw;
    }
}

/* ... (tu CSS existente) ... */

/* Estilos para el borde verde al pasar el cursor sobre los iconos de redes sociales */
.social-icon {
    width: 26px;
    height: 26px;
    vertical-align: middle; /* Alinea el icono con el texto */
    margin-left: 0.5rem; /* Pequeño margen para separar del texto si lo hay */
    /* Añadimos un borde transparente por defecto para que la transición sea suave */
    border: 2px solid transparent; 
    border-radius: 6px; /* Ligeramente redondeado si te gusta */
    transition: border-color 0.3s ease-in-out; /* Transición para el borde */
}

.social-icon:hover {
    border-color: #00ff88; /* Verde brillante al pasar el ratón */
}

/* Ya tienes esto, pero lo incluyo para que veas que está cubierto */
nav ul li a {
    color: #ffffff; /* Texto blanco para los enlaces de navegación */
    text-decoration: none;
    transition: color 0.3s ease-in-out; /* Transición suave para el hover */
    font-weight: bold; /* Hacer los enlaces más destacados */
    padding: 0.5rem 0; /* Área de clic más grande */
    display: block; /* Para que el padding funcione bien */
}

nav ul li a:hover {
    color: #00ff88; /* Verde brillante al pasar el ratón */
}

/* ... (el resto de tu CSS existente) ... */

/* Estilos para los iconos sociales en el pie de página */
.footer-social-icon {
    width: 30px; /* Ajusta el tamaño según tu preferencia */
    height: 30px; /* Mantener la proporción */
    transition: border 0.3s ease-in-out; /* Transición para el borde */
    border: 2px solid transparent; /* Borde transparente por defecto */
    border-radius: 5px; /* Ligeramente redondeado */
}

.footer-links a:hover .footer-social-icon {
    border-color: #00ff88; /* Borde verde al pasar el cursor */
}

/* Ajuste del espacio entre los logos en el pie de página */
.footer-links {
    gap: 1.5rem; /* Mantener el espacio entre los logos */
    /* Asegúrate de que los items del footer-links estén centrados si quieres */
    justify-content: center;
}

/* Nuevo CSS para la sección About */

.about-content-inner {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se muevan a la siguiente línea en pantallas pequeñas */
    align-items: center;
    gap: 180px; /* Espacio entre los elementos */
}

.about-text-container,
.about-image-container {
    flex: 1; /* Permite que ambos contenedores ocupen el mismo espacio horizontal */
    min-width: 300px; /* Asegura que no se hagan demasiado pequeños en pantallas chicas */
}

.about-image {
    max-width: 100%;
    height: auto;
    display: block; /* Elimina el espacio extra debajo de la imagen */
    border-radius: 8px; /* Un poco de borde redondeado para un mejor estilo */
}

/* Ajustes para pantallas más grandes (opcional) */
@media (min-width: 768px) {
    .about-text-container {
        padding-right: 20px; /* Espacio extra a la derecha del texto en pantallas grandes */
    }
}

/* --- RESPONSIVE GENERAL --- */

/* Tablets (≤ 900px) */
@media (max-width: 900px) {
    .fullscreen-hero-wrapper {
        height: auto;
        min-height: 70vh;
        padding: 0;
    }
    .hero-content {
        width: 95%;
        max-width: 700px;
        padding: 1rem 0;
    }
    .about-content-inner {
        flex-direction: column;
        gap: 32px;
    }
    .about-text-container,
    .about-image-container {
        min-width: 0;
        width: 100%;
        padding: 0;
    }
    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }
    .quantum-leaps-container,
    .project-item,
    .about-content {
        padding: 0 1rem;
    }
    .footer-links {
        gap: 1rem;
    }
}

/* Móviles (≤ 600px) */
@media (max-width: 600px) {
    body {
        font-size: 1rem;
        padding: 0;
    }
    header {
        padding: 0.5rem 0;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    nav ul li {
        margin: 0.3rem 0;
    }
    .hero-content {
        width: 100%;
        padding: 0 0.5rem;
        text-align: center;
    }
    .hero-left h1 {
        font-size: 2rem;
    }
    .slogan-text {
        font-size: 1.1rem;
    }
    .scroll-down {
        margin-bottom: 1rem;
    }
    .full-width-main {
        padding: 0.5rem;
    }
    #about {
        padding: 2rem 0;
    }
    .about-content {
        padding: 0 0.5rem;
    }
    .about-content-inner {
        flex-direction: column;
        gap: 20px;
    }
    .about-image {
        max-width: 90vw;
        margin: 0 auto;
    }
    .section-title {
        font-size: 1.3rem;
        text-align: center;
        justify-content: center;
    }
    .quantum-leaps-list h3 {
        font-size: 1.2rem;
    }
    .quantum-leaps-list li {
        padding: 0.7rem 0.7rem;
    }
    .project-item {
        padding: 0.5rem;
    }
    .footer-links {
        gap: 0.7rem;
    }
}

@media (max-width: 400px) {
    .hero-left h1 {
        font-size: 2rem;
    }
    .slogan-text {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .about-image {
        max-width: 98vw;
    }
}

/* =========================
   MENÚ DESPLEGABLE PARA MÓVILES/TABLETAS
=========================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 1100;
    cursor: pointer;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        padding-top: 4rem;
        gap: 1.5rem;
        box-shadow: -2px 0 12px rgba(0,0,0,0.3);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1050;
    }
    nav ul.open {
        transform: translateX(0);
    }
    header {
        position: relative;
    }
}

/* --- Sección About (Contenedor de referencia) --- */
#about {
    background-color: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0;
    color: #333333;
    /* Esto es CLAVE para que la animación se posicione dentro de esta sección */
    position: relative; 
    padding-bottom: 6rem; /* Añade espacio extra en la parte inferior para que la animación no cubra el texto */
}

/* Resto de estilos para el contenido de About... */
/* ... tus estilos de .about-content, .about-content-inner, etc. ... */


/* --- Animación de Hashtags (Elemento Posicionado) --- */
.about-hashtags-container {
    /* Posiciona el contenedor en relación con la sección #about */
    position: absolute;
    /* Lo pega al borde inferior de la sección */
    bottom:0; 
    /* Lo pega a los bordes laterales y asegura el 100% de ancho */
    left: 0;
    right: 0;

    background-color: #01ce6e;
    padding: 2rem 1;
    overflow: hidden;
    white-space: nowrap;
}

/* El elemento que se moverá, con la animación */
.about-hashtags {
    display: inline-block;
    animation: scrollHashtags 25s linear infinite;
    white-space: nowrap; /* Asegura que los hashtags no se envuelvan */
}

/* Estilos para cada hashtag individual */
.about-hashtags span {
    display: inline-block;
    margin-right: 15px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #333333;
    font-weight: bold;
    text-transform: uppercase;
}

/* Definición de la animación de movimiento */
@keyframes scrollHashtags {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}



/* ========================================= */
/* ESTILOS MODERNOS Y ASIMÉTRICOS PARA CULTURE ARCHITECTURE */
/* ========================================= */
#culture-architecture {
    background-color: #0a0a0a; 
    color: #ffffff;
    padding: 6rem 0;
    width: 100vw; 
    margin-left: calc(-50vw + 50%);
    /* Eliminamos el box-shadow para quitar el brillo */
}

.culture-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

#culture-architecture .section-title {
    color: #ffffff; 
    margin-bottom: 3rem;
    /* Eliminamos el text-shadow para quitar el brillo */
}

/* Contenedor principal para cada bloque de contenido (Texto + Imagen) */
.culture-block {
    display: flex;
    align-items: center; /* Centra verticalmente los ítems */
    margin-bottom: 60px; /* Espacio entre cada bloque */
    gap: 80px; /* Espacio entre la columna de texto y la de imagen */
}

/* Contenedores de texto e imagen */
.culture-text-container {
    flex: 1;
    padding: 20px 0;
}

.culture-image-container {
    flex: 1;
    max-width: 450px; /* Limita el ancho de la imagen */
    margin: 0;
}

.culture-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil sin brillo */
}

/* Subtítulos (h3) */
#culture-architecture h3 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: #ffffff; 
    margin-top: 0; /* Ya no necesitamos margen superior porque cada bloque es independiente */
    margin-bottom: 1rem;
    font-weight: 700;
    /* Eliminamos el text-shadow para quitar el brillo */
    border-bottom: 1px solid rgba(0, 255, 136, 0.3); 
    padding-bottom: 5px;
}

/* Párrafos y texto general */
#culture-architecture p,
#culture-architecture ul li {
    color: #ffffff;
    font-size: clamp(1em, 2.5vw, 1.15em);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* Estilo para la lista de definición (DNA) */
.ctx-dna-list {
    margin-top: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
}

.ctx-dna-list dt {
    color: #00ff88; 
    font-weight: bold;
    font-size: 1.15em;
    margin-top: 15px;
}

.ctx-dna-list dd {
    margin-left: 0;
    padding-bottom: 10px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1); 
    margin-bottom: 10px;
    font-size: 1em;
    color: #ffffff;
}

/* Listas no ordenadas (Narratives y Rules) */
#culture-architecture ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

#culture-architecture ul li {
    position: relative;
    padding-left: 1.7em; 
    transition: color 0.2s;
}

#culture-architecture ul li::before {
    content: "•"; /* Viñeta simple (sin brillo) */
    color: #05e474; 
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0.9em;
    position: absolute;
    left: 0;
    /* Eliminamos el text-shadow */
}

/* --- RESPONSIVIDAD: Apilar elementos en móviles y tablets --- */

@media (max-width: 900px) {
    .culture-block {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    /* BLOQUE 2: Narratives (Imagen Izquierda, Texto Derecha) - Invertimos el orden para que la imagen quede arriba */
    .block-right-text {
        flex-direction: column-reverse; /* Esto pone el texto (culture-text-container) antes de la imagen en móvil */
    }

    .culture-image-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .culture-content {
        padding: 0 1rem;
    }
}

/* ========================================= */
/* NUEVOS ESTILOS PARA KEY PROJECTS (Con Imagen Izquierda) */
/* ========================================= */
.key-projects-flex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 40px; /* Espacio entre la imagen y el contenido */
    align-items: flex-start; /* Alinea los ítems en la parte superior */
}

.key-projects-image-container {
    flex: 0 0 35%; /* Ocupa el 35% del ancho y no se encoge */
    max-width: 450px;
    padding-top: 20px; /* Pequeño ajuste visual */
}

.key-projects-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.key-projects-content-wrapper {
    flex: 1; /* Ocupa el resto del espacio */
}

/* El estilo de .project-item sigue funcionando para los bloques individuales */

/* --- AJUSTES DE RESPONSIVIDAD PARA KEY PROJECTS --- */
@media (max-width: 900px) {
    .key-projects-flex-container {
        flex-direction: column; /* Apila la imagen y el contenido */
        padding: 0 1rem;
    }
    
    .key-projects-image-container {
        flex: 0 0 100%; /* Ocupa todo el ancho en móvil */
        order: -1; /* Mueve la imagen arriba del contenido */
        max-width: 100%;
        margin-bottom: 20px;
    }
}


/* ========================================= */
/* AJUSTES PARA CULTURE ARCHITECTURE (Eliminación de Narratives) */
/* ========================================= */
/* El bloque 2 (Rules) ahora usará block-right-text para poner la imagen a la izquierda:
   (Imagen Izquierda, Texto Derecha) */
   
/* Por defecto, .culture-block es Texto Izquierda/Imagen Derecha.
   La clase .block-right-text invierte este orden en DESKTOP para hacer Imagen Izquierda/Texto Derecha */
@media (min-width: 901px) {
    .culture-block.block-right-text {
        flex-direction: row-reverse; /* Esto pone la imagen (culture-image-container) a la izquierda en desktop */
    }
}
/* En MOBILE, la regla @media (max-width: 900px) que ya tienes asegurará que:
   - block-left-text se apile normalmente (Texto arriba, Imagen abajo).
   - block-right_text se apile invertido (Imagen arriba, Texto abajo), gracias a:
     .block-right-text { flex-direction: column-reverse; } en tus estilos base (si ya lo tienes). 
     Si no lo tienes, usa la siguiente regla: */
     
/* Asegura la inversión en móvil para block-right-text (Imagen arriba/Texto abajo) */
@media (max-width: 900px) {
    .culture-block.block-right-text {
        flex-direction: column-reverse; 
    }
}


/* ========================================= */
/* ESTILOS CORREGIDOS: Cajas Intercaladas y Texto a la IZQUIERDA */
/* ========================================= */

.key-projects-grid {
    /* Mantiene la estructura de Grid para el intercalado de cajas */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
}

/* 1. Bloques de la IZQUIERDA (Technical Analysis, Key Audience) */
.project-item.project-left {
    grid-column: 1 / 2;
    text-align: left; /* ¡CAMBIO CLAVE: Alineamos el texto a la izquierda! */
    border-left: 3px solid #00ff88;
    border-right: none;
}

/* 2. Bloques de la DERECHA (Market Vision, Strategic Future) */
.project-item.project-right {
    grid-column: 2 / 3;
    text-align: left; /* ¡CAMBIO CLAVE: Alineamos el texto a la izquierda! */
    border-left: 3px solid #00ff88; 
    border-right: none;
}

/* Alineamos los títulos y los iconos a la izquierda en ambos tipos de bloques */
.project-item h3 {
    display: flex;
    justify-content: flex-start; /* Alinea el contenido (título e icono) a la izquierda */
}

/* --- AJUSTES DE RESPONSIVIDAD (Apilar en Móvil) --- */
@media (max-width: 900px) {
    .key-projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 1rem;
    }

    /* En móvil, todos los bloques se apilan y tienen alineación a la izquierda */
    .project-item {
        grid-column: 1 / 2 !important; 
        text-align: left; /* Mantenemos el texto a la izquierda */
        border-left: 3px solid #00ff88 !important; /* Todos tienen borde izquierdo */
        border-right: none !important; /* Quitamos cualquier borde derecho */
    }
    
    .project-item h3 {
        justify-content: flex-start !important; /* Títulos a la izquierda */
    }
}
/* ========================================= */
/* ESTILOS PARA LA LISTA DE REGLAS VIRALES (Texto Grueso/Delgado) */
/* ========================================= */

/* Estilo para los elementos de lista de la sección Culture Architecture */
#culture-architecture ul li {
    font-size: clamp(1em, 2.5vw, 1.15em);
    font-weight: 300; /* Hace que el texto del cuerpo de la explicación sea delgado */
    color: #ffffff; /* Color blanco suave */
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Estilo para el concepto (la parte dentro del <strong> antes de los dos puntos) */
#culture-architecture ul li strong {
    font-weight: 700; /* Peso de fuente grueso para el concepto */
    color: #00ff88; /* Blanco puro para destacarse */
    margin-right: 5px; /* Pequeño espacio después de los dos puntos */
}

/* === Chat flotante === */
.chat-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    min-width: 120px;
    padding: 10px 14px;
    border-radius: 28px;
    background: linear-gradient(135deg,#00ff88,#01552b);
    color: #00200a;
    border: none;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 2000;
    text-transform: none;
}

.float-chat {
    position: fixed;
    right: 20px;
    bottom: 86px;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 460px;
    background: #0c0c0c;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
    z-index: 1999;
}

.float-chat[aria-hidden="false"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    padding: 12px 14px;
    background: linear-gradient(90deg,#06100a,#01220f);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.chat-messages {
    flex: 1 1 auto;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.message {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 12px;
    line-height: 1.4;
    word-break: break-word;
}

.message.user {
    background: #161616;
    color: #fff;
    align-self: flex-end;
    border: 1px solid rgba(255,255,255,0.03);
}

.message.bot {
    background: #00ff88;
    color: #00200a;
    align-self: flex-start;
    font-weight: 700;
}

/* Ajustes: mostrar "Thinking.." y cursor de máquina de escribir */
.message.bot.typing {
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    align-self: flex-start;
    position: relative;
    min-width: 80px;
}

/* Quitamos los puntos anteriores si existen */
.message.bot.typing::after {
    content: '';
}

/* Cursor vertical parpadeante usado en la animación de escribir */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: #00200a;
    margin-left: 6px;
    vertical-align: middle;
    animation: blinkCaret 0.8s steps(1) infinite;
}

@keyframes blinkCaret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Opcional: suavizar la transición de los mensajes del bot */
.message.bot, .message.user {
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.chat-form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.05));
}

.chat-input {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: #0b0b0b;
    color: #fff;
    font-size: 0.95rem;
}

.chat-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgb(255, 255, 255); /* color del icono */
    transition: transform 0.12s, background 0.12s;
    border-radius: 8px;
}

.chat-send:hover { transform: translateY(-2px); background: rgba(0,255,136,0.06); }

.chat-send.circle svg { width: 36px; height: 36px; } /* para variante en círculo */

.chat-send svg { display: block; pointer-events: none; }

.chat-footer {
    text-align: center;
    padding: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.02);
}

/* Responsive: mover chat un poco arriba en móviles para no tapar nav fija */
@media (max-width: 600px) {
    .float-chat {
        right: 12px;
        left: 12px;
        bottom: 80px;
        width: auto;
        height: 56vh;
    }
    .chat-toggle {
        right: 14px;
        bottom: 14px;
        min-width: 110px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Estilos para el Token ID y su icono */
.token-id-text {
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.token-id-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 8px;
}

/* Estilos para el botón de copiar */
.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.copy-btn:active {
    transform: scale(0.92);
}

.copy-btn.copied {
    color: #00ff88;
    background-color: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
}