/* Componentes compartidos por las páginas de sección (blog, manifiesto, etc.) */

:root {
    --texto-suave: rgba(255, 255, 255, 0.7);
    --texto-tenue: rgba(255, 255, 255, 0.55);
    --borde: #2f2f2f;
    --borde-hover: #4a4a4a;
    --fondo-tarjeta: #0a0a0a;
}

.seccion-hero {
    padding: 3rem 0 2rem 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--texto-suave);
    margin-bottom: 1.5rem;
}

.kicker .punto {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
}

.lead-pirah {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--texto-suave);
    max-width: 46rem;
}

.texto-suave {
    color: var(--texto-suave);
}

.texto-tenue {
    color: var(--texto-tenue);
}

/* Tarjetas */

.tarjeta {
    display: block;
    height: 100%;
    background: var(--fondo-tarjeta);
    border: 1px solid var(--borde);
    border-radius: 12px;
    padding: 1.75rem;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

a.tarjeta:hover {
    border-color: var(--borde-hover);
    transform: translateY(-2px);
}

.tarjeta p:last-child {
    margin-bottom: 0;
}

.tarjeta .barra {
    height: 6px;
    width: 3rem;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.tarjeta .meta {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.85rem;
    color: var(--texto-tenue);
    margin-bottom: 0.75rem;
}

.tarjeta-destacada {
    padding: 2.5rem;
}

.tarjeta-destacada h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.leer-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-top: 1rem;
}

.leer-mas .material-symbols-outlined {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

a:hover .leer-mas .material-symbols-outlined {
    transform: translateX(4px);
}

/* Etiquetas */

.etiquetas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.etiqueta {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    border: 1px solid var(--borde);
    border-radius: 999px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.8rem;
    color: var(--texto-suave);
}

/* Filtros del blog */

.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.filtro {
    padding: 0.4rem 1rem;
    border: 1px solid var(--borde);
    border-radius: 999px;
    background: transparent;
    color: var(--texto-suave);
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.95rem;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.filtro:hover {
    border-color: var(--borde-hover);
    color: white;
}

.filtro.activo {
    background: white;
    border-color: white;
    color: black;
}

/* Principios numerados (manifiesto, guía ética) */

.principio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--borde);
}

.principio .numero {
    flex: 0 0 4rem;
    font-family: "Outfit", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.principio h3 {
    font-size: 1.4rem;
}

.principio p {
    color: var(--texto-suave);
    margin-bottom: 0;
}

.c-verde { color: var(--color-verde); }
.c-amarillo { color: var(--color-amarillo); }
.c-rojo { color: var(--color-rojo); }
.c-magenta { color: var(--color-magenta); }
.c-morado { color: var(--color-morado); }
.c-azul { color: var(--color-azul); }
.c-turqueza { color: var(--color-turqueza); }

/* Cita grande */

.cita {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 500;
    line-height: 1.25;
    border-left: 6px solid var(--color-verde);
    padding-left: 1.5rem;
    margin: 3rem 0;
}

.cita footer {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--texto-tenue);
    margin-top: 1rem;
}

/* Proceso (servicios) */

.paso .numero {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: var(--texto-tenue);
    margin-bottom: 0.5rem;
}

.lista-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-check li {
    display: flex;
    gap: 0.6rem;
    padding: 0.3rem 0;
    color: var(--texto-suave);
}

.lista-check li::before {
    content: "";
    flex: 0 0 8px;
    height: 8px;
    margin-top: 0.6rem;
    border-radius: 50%;
    background: var(--texto-tenue);
}

/* Formularios */

.campo {
    margin-bottom: 1.25rem;
}

.campo label {
    display: block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--texto-suave);
    margin-bottom: 0.4rem;
}

.campo input,
.campo select,
.campo textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--borde);
    border-radius: 12px;
    background: var(--fondo-tarjeta);
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.campo textarea {
    min-height: 160px;
    resize: vertical;
}

.campo input::placeholder,
.campo textarea::placeholder {
    color: #7a7a7a;
}

.campo input:hover,
.campo select:hover,
.campo textarea:hover {
    border-color: var(--borde-hover);
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    border-color: var(--color-turqueza);
    box-shadow: 0 0 0 3px rgba(0, 190, 254, 0.2);
}

.boton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 999px;
    background: white;
    color: black;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.boton:hover {
    background: var(--color-amarillo);
    color: black;
}

/* Llamada a la acción */

.cta {
    border: 1px solid var(--borde);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
}

.cta .fila-circulos {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta .circulo {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 576px) {
    .principio {
        flex-direction: column;
        gap: 0.75rem;
    }

    .principio .numero {
        flex-basis: auto;
    }

    .tarjeta-destacada {
        padding: 1.75rem;
    }
}

/* Home */

.acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.boton-secundario {
    background: transparent;
    color: white;
    border: 1px solid var(--borde-hover);
}

.boton-secundario:hover {
    background: white;
    color: black;
}

.encabezado-seccion {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.encabezado-seccion h2 {
    padding-bottom: 0;
    margin-bottom: 0;
}

.encabezado-seccion .leer-mas {
    margin-top: 0;
}

/* Lista de proyectos con formato de blog (portada y /proyectos) */

.entrada-destacada a,
.entrada a {
    color: inherit;
    text-decoration: none;
}

.entrada a {
    display: block;
}

.entrada-imagen {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--borde);
    background: #050505;
    margin-bottom: 1.25rem;
}

.entrada-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.entrada-destacada a:hover .entrada-imagen img,
.entrada a:hover .entrada-imagen img {
    transform: scale(1.03);
}

.entrada-destacada .entrada-imagen {
    margin-bottom: 0;
}

.entrada-kicker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--texto-suave);
    margin-bottom: 0.6rem;
}

.entrada-kicker .punto {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
}

.entrada-formato {
    color: var(--texto-tenue);
}

.entrada-titulo {
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    transition: color 0.2s ease;
}

.entrada-titulo-grande {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.entrada a:hover .entrada-titulo,
.entrada-destacada a:hover .entrada-titulo-grande {
    color: var(--color-amarillo);
}

.entrada-bajada {
    color: var(--texto-suave);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.entrada-destacada .entrada-bajada {
    font-size: 1.15rem;
    font-weight: 300;
}

.entrada-meta {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.9rem;
    color: var(--texto-tenue);
    margin-bottom: 0.75rem;
}

.entrada-destacada {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--borde);
}

.entrada {
    margin-bottom: 1.5rem;
}

/* Páginas legales (aviso de privacidad, licencia) */

.documento-legal h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.documento-legal p,
.documento-legal li {
    font-size: 1.05rem;
    line-height: 1.7;
}

.documento-legal ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.documento-legal li {
    margin-bottom: 0.5rem;
}

.documento-legal strong {
    color: white;
    font-weight: 500;
}

.cita-ejemplo {
    font-family: "Roboto Condensed", sans-serif;
    border-left: 3px solid var(--color-turqueza);
    padding: 0.5rem 0 0.5rem 1rem;
    color: white;
}

.licencia-pie {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.85rem;
    color: var(--texto-tenue);
}

.licencia-pie a {
    color: var(--texto-suave);
}

.nota-privacidad {
    font-size: 0.85rem;
    color: var(--texto-tenue);
}

/* En celular, el espacio entre columnas de gx-5 (3rem) desborda el
   contenedor; se reduce al estándar de Bootstrap. */
@media (max-width: 576px) {
    .row.gx-5 {
        --bs-gutter-x: 1.5rem;
    }
}
