/* --- ESTILOS DE DISEÑO ACTUALIZADOS PARA LA ESTÉTICA PLATEADA DE ALTA CALIDAD --- */

/* Variables de colores actualizadas */
:root {
    --bg-top: #8a8a8a;    /* Gris del fondo fotográfico */
    --bg-bottom: #222222; /* Gris casi oscuro de la base */
    --text-main: #ffffff; /* Blanco para contraste */
    --text-muted: #cccccc;
    --accent-silver: #b0b0b0; /* Plateado metálico cepillado de alta calidad */
    --accent-silver-hover: #a0a0a0;
    --accent-blue: #0088cc; /* Azul vibrante de los núcleos */
    --accent-blue-hover: #006699;
}

/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 30px 5%;
    align-items: center;
}

.logo-img {
    height: 60px; /* Tamaño del logo */
    width: auto;
    border-radius: 8px;
    /* --- ELIMINADO EL FILTRO DORADO --- */
    /* El logo plateado image_8.png ya tiene el color correcto */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); /* Sombra sutil para profundidad */
}

.lang-switch {
    font-weight: bold;
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.lang-switch a:hover {
    color: var(--text-main);
}

.lang-switch .active {
    color: var(--text-main);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

/* --- APLICADO COLOR PLATEADO A LOS TÍTULOS --- */
.highlight {
    color: var(--accent-silver); /* Plateado para destacar */
}

p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

input[type="email"] {
    padding: 18px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
}

input[type="email"]::placeholder {
    color: #bbb;
}

input[type="email"]:focus {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.15);
}

button {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background-color: var(--accent-blue);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

button:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
}

.spam-notice {
    font-size: 0.85rem;
    color: #999;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    /* Limitamos el ancho para mayor nitidez */
    width: 450px; 
    height: auto;
    /* Sombra 3D */
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)); 
}

/* Sección Showcase */
.showcase {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--bg-bottom); 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showcase h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    /* --- COLOR PLATEADO APLICADO --- */
    color: var(--accent-silver);
}

.showcase-text p {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.showcase-image {
    width: 100%;
    max-width: 900px; /* Reducimos el ancho máximo para mayor nitidez */
    margin: 0 auto;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); /* Da un efecto 3D */
}

/* --- NUEVOS ESTILOS PARA LA SECCIÓN DE LA PATENTE REDISEÑADA (v2) --- */

.patent-section-v2 {
    padding: 80px 5%;
    background-color: var(--bg-bottom); /* Fondo oscuro coherente */
    display: flex;
    flex-direction: column;
    gap: 60px; /* Espacio entre filas */
    max-width: 1400px;
    margin: 0 auto;
}

.patent-row {
    display: flex;
    align-items: center; /* Centrado vertical del contenido */
    gap: 50px; /* Espacio entre texto e imagen */
    justify-content: center;
}

/* Clase para invertir el orden de la segunda fila en escritorio */
.patent-row.reverse {
    flex-direction: row-reverse;
}

.patent-image {
    flex: 1; /* Ocupa la mitad del espacio */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.patent-image img {
    /* --- TAMAÑO AJUSTADO PARA MAYOR NITIDEZ --- */
    width: 400px; /* Tamaño ideal para claridad */
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    margin-bottom: 10px;
}

.patent-text {
    flex: 1; /* Ocupa la otra mitad */
    text-align: left; /* Alineación perfecta para texto lateral */
    max-width: 600px;
}

.patent-text h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--accent-silver); /* Plateado exclusivo */
}

.patent-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Estilo para la caja de beneficio dentro del texto */
.patent-text .feature-item {
    background-color: rgba(255, 255, 255, 0.03); /* Fondo muy sutil */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left; /* La caja de beneficio se mantiene alineada a la izquierda */
}

.patent-text .feature-item .icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
    color: var(--accent-blue); /* Iconos azules coherentes */
}

.patent-text .feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.patent-text .feature-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* --- ACTUALIZACIÓN DE ESTILOS ADAPTABLES (RESPONSIVE) --- */
@media (max-width: 900px) {
    /* ... (mantén tus estilos media query anteriores si tienes otros) ... */

    .patent-section-v2 {
        padding: 40px 5%;
        gap: 40px; /* Reducimos el espacio */
    }

    .patent-row {
        flex-direction: column; /* Apilado vertical en móviles */
        gap: 30px;
        text-align: center; /* Centramos el texto general en móviles */
    }

    /* Eliminamos el orden invertido en móviles */
    .patent-row.reverse {
        flex-direction: column;
    }

    .patent-image img {
        width: 100%; /* Escala la imagen al ancho */
        max-width: 350px; /* Mantiene un límite para nitidez */
    }

    .patent-text {
        text-align: center; /* Centramos el texto general */
    }

    .patent-text h3 {
        font-size: 2rem;
    }

    /* Mantenemos el contenido de la caja de beneficio alineado a la izquierda para mejor lectura */
    .patent-text .feature-item {
        text-align: left;
        max-width: 450px;
        margin: 0 auto; /* Centramos la caja misma */
    }
}

/* Diseño adaptable */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }
    .hero-image img {
        width: 100%; /* Full width in small screens */
        max-width: 320px; /* still apply a maximum to look sharp */
    }
    .email-form {
        flex-direction: column;
    }
    h1 {
        font-size: 2.5rem;
    }
    .showcase h2 {
        font-size: 2rem;
    }
    .patent-images {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 40px; /* Increased gap */
    }
    .patent-images img {
        width: 100%; /* Full width */
        max-width: 320px; /* Limit it to look sharp */
    }
}