﻿:root {
    --boken-bg: #0f1013;
    --boken-bg-alt: #15171c;
    --boken-surface: #ffffff;
    --boken-surface-soft: #f5f7fb;
    --boken-border-subtle: #e1e4f0;
    /* Azul más sobrio, menos "Bootstrap" y más marca propia */
    --boken-primary: #274472; /* azul apagado, serio */
    --boken-primary-soft: rgba(39, 68, 114, 0.09);
    --boken-primary-strong: #1b3155;
    --boken-text-main: #111827;
    --boken-text-soft: #6b7280;
    --boken-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.15);
    --boken-radius-lg: 18px;
    --boken-radius-md: 12px;
    --boken-radius-pill: 999px;
}

/* Layout básico */

.boken-body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6; /* gris clarito plano, sin degradados raros */
    color: var(--boken-text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.boken-main {
    flex: 1 0 auto;
}

.boken-footer {
    flex-shrink: 0;
    background-color: #ffffff;
    padding: 1rem 0;
    font-size: 0.8rem;
}

/* Navbar */

.boken-header {
    position: sticky;
    top: 0;
    z-index: 9040;
}

.boken-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.boken-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* antes 28px → más visible */
    width: auto;
}

    .boken-logo-wrap img {
        height: 36px; /* tamaño del logo dentro */
        width: auto;
        display: block;
    }

.navbar .lang-switch {
    display: flex;
    align-items: center;
}


@media (min-width: 992px) {
    .boken-logo-wrap img {
        height: 44px; /* en desktop lo ampliamos aún más */
    }
}

.boken-brand-text {
    font-size: 1rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    margin-left: 0.35rem; /* un pequeño aire entre logo y texto */
}


.boken-nav-links .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #616571;
    padding: 0.4rem 0.9rem;
    position: relative;
}

.boken-nav-links .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.2rem;
    height: 1px;
    background: var(--boken-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease-out;
}

.boken-nav-links .nav-link:hover {
    color: #101217;
}

.boken-nav-links .nav-link:hover::after {
    transform: scaleX(1);
}

.lang-switch a {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #6b6f7c;
}

.lang-switch a.active {
    color: #111318;
    font-weight: 600;
}

/* Botones */

.boken-btn-primary {
    border-radius: var(--boken-radius-pill);
    padding: 0.55rem 1.6rem;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    background: linear-gradient(135deg, var(--boken-primary), var(--boken-primary-strong));
    color: #fff;
    box-shadow: 0 14px 30px rgba(27, 49, 85, 0.28); /* sombra azul suave */
    transition: background 0.18s ease-out, box-shadow 0.18s ease-out;
}

    .boken-btn-primary:hover {
        background: linear-gradient(135deg, var(--boken-primary-strong), var(--boken-primary));
        box-shadow: 0 18px 36px rgba(27, 49, 85, 0.35); /* sombra más profunda al hacer hover */
        color: #fff;
    }


.boken-btn-ghost {
    border-radius: var(--boken-radius-pill);
    padding: 0.55rem 1.5rem;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid #c9ccd6;
    color: #3b3f4a;
    background: rgba(255, 255, 255, 0.7);
}

.boken-btn-ghost:hover {
    border-color: var(--boken-primary);
    color: #111318;
}

/* HERO */

.boken-hero {
    padding: 4.5rem 0 4rem;
}

.boken-hero-inner {
    position: relative;
    z-index: 0; /* crea stacking context estable */
}

    /* El halo ya NO va con z-index negativo */
    .boken-hero-inner::before {
        content: "";
        position: absolute;
        right: -12%;
        top: -60px;
        width: 420px;
        height: 420px;
        background: radial-gradient(circle at 20% 0, rgba(39, 68, 114, 0.18), transparent 70%);
        opacity: 0.85;
        border-radius: 50%;
        z-index: 0;
        pointer-events: none;
    }

    /* Eleva el contenido del hero por encima del halo */
    .boken-hero-inner > * {
        position: relative;
        z-index: 1;
    }


@media (min-width: 992px) {
    .boken-hero {
        padding: 5.5rem 0 4.5rem;
    }
}

.boken-hero-kicker {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6c7180;
}

.boken-kicker-label {
    font-weight: 500;
}

.boken-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--boken-primary);
}

.boken-kicker-tag {
    padding: 0.16rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.7rem;
}

.boken-hero-title {
    font-size: clamp(2.1rem, 3vw + 1.4rem, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.boken-hero-subtitle {
    font-size: 0.98rem;
    color: var(--boken-text-soft);
    max-width: 34rem;
    margin-bottom: 1.2rem;
}

.boken-hero-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.8rem;
    font-size: 0.92rem;
}

.boken-hero-bullets li {
    position: relative;
    padding-left: 1.3rem;
    color: #404552;
    margin-bottom: 0.3rem;
}

.boken-hero-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: var(--boken-primary);
}

.boken-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* Tarjeta lateral del hero */

.boken-hero-card {
    background: #ffffff;
    border-radius: var(--boken-radius-lg);
    border: 1px solid var(--boken-border-subtle);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--boken-shadow-soft);
    font-size: 0.9rem;
    color: #414553;
}

.boken-hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.boken-hero-label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a0a3b0;
}

.boken-hero-pill {
    border-radius: var(--boken-radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.16rem 0.85rem;
    font-size: 0.78rem;
}

/* Secciones genéricas */

.boken-section {
    padding: 3.5rem 0;
}

.boken-section-alt {
    background: #f7f8fc;
}

.boken-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 2rem;
}

.boken-section-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9a9fb0;
}

.boken-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Cards */

.boken-card {
    background: #ffffff;
    border-radius: var(--boken-radius-lg);
    padding: 1.5rem 1.6rem;
    border: 1px solid var(--boken-border-subtle);
    box-shadow: 0 8px 20px rgba(15, 16, 19, 0.06);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.boken-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 16, 19, 0.12);
    border-color: rgba(0, 184, 148, 0.4);
}

.boken-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.18rem 0.8rem;
    border-radius: var(--boken-radius-pill);
    background: var(--boken-primary-soft);
    color: var(--boken-primary-strong);
    margin-bottom: 0.2rem;
}

.boken-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.boken-card p {
    font-size: 0.9rem;
    color: var(--boken-text-soft);
}

/* Cards de portfolio */

.boken-card-compact {
    padding: 1.3rem 1.4rem;
}

.boken-card-header-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.boken-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--boken-primary);
}

.boken-card-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #a0a4b3;
}

.boken-card-meta {
    font-size: 0.78rem;
    color: #999eb0;
    margin-bottom: 0.5rem;
}

.boken-section-note {
    margin-top: 1.8rem;
    font-size: 0.82rem;
    color: #9a9fb0;
}

/* Tech stack */

.boken-stack-block {
    background: #ffffff;
    border-radius: var(--boken-radius-lg);
    padding: 1.3rem 1.4rem;
    border: 1px dashed #d2d4de;
}

.boken-stack-block h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8d92a1;
    margin-bottom: 0.6rem;
}

.boken-stack-block ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.boken-stack-block li {
    font-size: 0.9rem;
    color: #3f4454;
    padding: 0.15rem 0;
}

/* Contacto */

.boken-form .form-control {
    border-radius: 10px;
    border-color: #d7d9e3;
    font-size: 0.9rem;
}

.boken-form .form-control:focus {
    border-color: var(--boken-primary);
    box-shadow: 0 0 0 0.15rem rgba(0, 184, 148, 0.18);
}

.boken-contact-card {
    background: #ffffff;
    border-radius: var(--boken-radius-lg);
    padding: 1.6rem 1.7rem;
    border: 1px solid var(--boken-border-subtle);
    box-shadow: var(--boken-shadow-soft);
    font-size: 0.9rem;
}

.boken-contact-card h3 {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8d92a1;
    margin-bottom: 0.7rem;
}

.boken-contact-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.boken-contact-card li {
    margin-bottom: 0.25rem;
    color: #3e4250;
}

.boken-contact-card a {
    text-decoration: none;
    color: var(--boken-primary-strong);
}

.boken-contact-card a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 991.98px) {
    .boken-hero-inner::before {
        right: -40px;
        top: -20px;
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 575.98px) {
    .boken-card,
    .boken-contact-card,
    .boken-hero-card {
        border-radius: 14px;
    }

    .boken-section {
        padding: 3rem 0 2.8rem;
    }
}

/* ===== Project detail ===== */

.boken-page-hero {
    padding: 3.8rem 0 2.8rem;
    background: #f3f4f6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.boken-breadcrumb {
    font-size: 0.78rem;
    color: #9ca3af;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

    .boken-breadcrumb a {
        color: #6b7280;
        text-decoration: none;
    }

        .boken-breadcrumb a:hover {
            color: var(--boken-primary-strong);
            text-decoration: underline;
        }

.boken-page-hero-main {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}

.boken-page-hero-text {
    flex: 1 1 320px;
    max-width: 640px;
}

.boken-page-title {
    font-size: clamp(2rem, 2.6vw + 1rem, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.boken-page-subtitle {
    font-size: 0.95rem;
    color: var(--boken-text-soft);
    margin-bottom: 0.4rem;
}

.boken-page-lead {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.boken-page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.boken-page-hero-media {
    flex: 0 0 280px;
    max-width: 360px;
}

.boken-project-figure {
    border-radius: var(--boken-radius-lg);
    overflow: hidden;
    border: 1px solid var(--boken-border-subtle);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

    .boken-project-figure img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Chips */

.boken-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.8rem;
    border-radius: var(--boken-radius-pill);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #4b5563;
}

.boken-chip-soft {
    border-color: rgba(39, 68, 114, 0.18);
    background: var(--boken-primary-soft);
    color: var(--boken-primary-strong);
}

/* Layout principal de la página */

.boken-project-section {
    background: #f9fafb;
}

.boken-project-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

@media (max-width: 991.98px) {
    .boken-project-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .boken-page-hero-main {
        flex-direction: column;
    }

    .boken-page-hero-media {
        max-width: 100%;
    }
}

.boken-project-main {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.boken-project-block {
    background: #ffffff;
    border-radius: var(--boken-radius-lg);
    border: 1px solid var(--boken-border-subtle);
    padding: 1.6rem 1.8rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    font-size: 0.94rem;
    color: #374151;
}

.boken-project-heading {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.boken-project-subheading {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-top: 0.9rem;
    margin-bottom: 0.35rem;
}

.boken-project-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .boken-project-list li {
        position: relative;
        padding-left: 1.1rem;
        margin-bottom: 0.25rem;
    }

        .boken-project-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.6rem;
            width: 10px;
            height: 2px;
            border-radius: 999px;
            background: var(--boken-primary);
        }

/* Galería */

.boken-project-thumb {
    border-radius: var(--boken-radius-md);
    overflow: hidden;
    border: 1px solid var(--boken-border-subtle);
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

    .boken-project-thumb img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Sidebar */

.boken-project-sidebar-card {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.boken-project-sidebar-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.boken-project-dl {
    margin: 0 0 1.4rem 0;
}

    .boken-project-dl div {
        margin-bottom: 0.5rem;
    }

    .boken-project-dl dt {
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: #9ca3af;
        margin-bottom: 0.1rem;
    }

    .boken-project-dl dd {
        margin: 0;
        font-size: 0.9rem;
        color: #111827;
    }

.boken-project-techchips h3,
.boken-project-links h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.boken-chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
}

.boken-project-links ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.boken-project-links li {
    margin-bottom: 0.25rem;
}

.boken-project-links a {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--boken-primary-strong);
}

    .boken-project-links a:hover {
        text-decoration: underline;
    }


.boken-gallery-modal .modal-content {
    background: #050816;
}

.boken-gallery-modal .modal-body {
    padding: 1.5rem;
}

.boken-lightbox-img {
    max-height: 80vh;
    object-fit: contain;
}

.boken-project-thumb a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.boken-project-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.boken-project-thumb a:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.25);
}
.boken-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    line-height: 1;
    padding: 0 18px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

    .boken-lightbox-nav:hover {
        background: rgba(0,0,0,0.55);
    }

.boken-lightbox-prev {
    left: 10px;
}

.boken-lightbox-next {
    right: 10px;
}

@media (max-width: 768px) {
    .boken-lightbox-nav {
        font-size: 2.2rem;
        padding: 0 12px;
    }
}
.boken-hero-lightbox-trigger {
    cursor: zoom-in;
    display: inline-block;
}

.boken-hero-image {
    transition: transform 0.2s ease;
}

.boken-hero-lightbox-trigger:hover .boken-hero-image {
    transform: scale(1.02);
}


.boken-hero-image {
    display: block;
}

.boken-project-figure {
    margin: 0;
    padding: 0;
}

.boken-page-hero-media {
    /* Que el contenedor se ajuste al contenido */
    height: auto;
}

.boken-project-figure {
    margin: 0; /* fuera márgenes por defecto */
    padding: 0; /* por si acaso */
    line-height: 0; /* truco para eliminar cualquier hueco de línea */
}


.boken-header {
    position: sticky;
    top: 0;
    z-index: 99999 !important;
}

/* FIX: iOS/Android mobile scroll glitch with backdrop-filter */
@media (max-width: 991.98px) {
    .boken-navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255,255,255,.98) !important;
    }
}

.boken-hero-inner {
    position: relative;
    isolation: isolate; /* clave: crea un stacking context propio */
}

    .boken-hero-inner::before {
        z-index: -1;
        pointer-events: none;
    }

@media (max-width: 991.98px) {
    .boken-hero-inner::before {
        display: none;
    }
}

/* Kicker del hero (fallaba por muy poco) */
.boken-kicker-label,
.boken-kicker-tag {
    color: #616775; /* un poco más oscuro que #6c7180 */
}

/* Títulos H3 “BACKEND/FRONTEND/…” */
.boken-stack-block h3,
.boken-contact-card h3 {
    color: #6b7280; /* antes te estaba quedando demasiado claro */
}

/* Kicker de sección (ej. CONTACTO) sobre fondo alt */
.boken-section-kicker {
    color: #6f7686;
}

.boken-nav-links .nav-link {
    color: #4b5563;
}
    /* base */
    .boken-nav-links .nav-link:hover {
        color: #111827;
    }
    /* hover */
    .boken-nav-links .nav-link:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }

/* Accesibilidad: subir contraste en textos secundarios */
.boken-kicker-label,
.boken-kicker-tag,
.boken-hero-subtitle,
.boken-hero-label,
.boken-section-kicker {
    color: #495057; /* en vez de un gris muy claro */
}

/* Si tu hero tiene fondo claro, y el subtitle iba más light: */
.boken-hero-subtitle {
    opacity: 1;
}

/* Si algún h3 estaba en gris */
.boken-stack-block h3 {
    color: #212529;
}

section[id] {
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
}

#contactSubmitBtn {
    transition: all .2s ease;
}

    #contactSubmitBtn:disabled {
        opacity: 0.85;
        transform: scale(0.98);
    }





.boken-focus-section {
    padding-top: 2rem;
}

.boken-focus-box {
    background: #f7f8fa;
    border: 1px solid rgba(18, 34, 64, 0.08);
    border-radius: 28px;
    padding: 2.5rem;
}

.boken-focus-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #16233f;
    margin-bottom: 0;
    max-width: 56rem;
}

.boken-mini-point {
    height: 100%;
    padding-top: 0.25rem;
}

    .boken-mini-point h3 {
        font-size: 1rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
        color: #16233f;
    }

    .boken-mini-point p {
        margin-bottom: 0;
        color: #5f6b7a;
        line-height: 1.7;
    }

.boken-card-service {
    height: 100%;
}

.boken-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.boken-tech-item {
    background: #fff;
    border: 1px solid rgba(18, 34, 64, 0.08);
    border-radius: 22px;
    padding: 1.5rem;
    height: 100%;
}

    .boken-tech-item h3 {
        margin-bottom: 0.75rem;
        font-size: 1rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #16233f;
    }

    .boken-tech-item p {
        margin-bottom: 0;
        color: #5f6b7a;
        line-height: 1.7;
    }

@media (max-width: 991.98px) {
    .boken-focus-box {
        padding: 2rem;
    }

    .boken-tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .boken-focus-box {
        padding: 1.5rem;
        border-radius: 22px;
    }

    .boken-focus-lead {
        font-size: 1.05rem;
    }
}

.legal-page {
    background: #f3f3f4;
}

.legal-container {
    max-width: 920px;
}

.legal-header {
    margin-bottom: 2.5rem;
}

.legal-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a7f87;
}

.legal-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.legal-intro {
    max-width: 760px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #666c74;
}

.legal-content {
    word-break: break-word;
}

.legal-section {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

    .legal-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 1.6rem;
        right: 1.6rem;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(39,68,114,0.9), rgba(39,68,114,0.18));
    }

.legal-index {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6e7680;
}

.legal-section h2 {
    margin: 0 0 0.8rem;
    padding-top: 0.2rem;
    font-size: 1.18rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.legal-section p,
.legal-section li {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #27303b;
}

@media (min-width: 768px) {
    .legal-section {
        padding: 1.75rem 1.9rem;
    }

        .legal-section::before {
            left: 1.9rem;
            right: 1.9rem;
        }
}

.legal-owner-data {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5c6470;
    white-space: pre-line;
}


.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 0.85rem 0;
    background: rgba(18, 18, 18, 0.96);
    color: #fff;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

    .cookie-banner[hidden] {
        display: none !important;
    }

.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #fff;
}

    .cookie-banner__text strong {
        color: #fff;
        font-weight: 600;
    }

    .cookie-banner__text span {
        color: rgba(255, 255, 255, 0.92);
    }

    .cookie-banner__text a,
    .cookie-banner__text a:hover,
    .cookie-banner__text a:focus,
    .cookie-banner__text a:visited {
        color: #fff;
        text-decoration: underline;
    }

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-banner .btn {
    min-width: 120px;
}

@media (min-width: 768px) {
    .cookie-banner__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cookie-banner__text {
        max-width: 900px;
    }

    .cookie-banner__actions {
        flex-shrink: 0;
        justify-content: flex-end;
    }
}

.boken-stack-block {
    height: 100%;
}

    .boken-stack-block ul {
        margin-bottom: 0;
    }

.boken-footer {
    background: #fff;
}

    .boken-footer a {
        color: #5f6670;
        text-decoration: none;
        transition: color 0.2s ease, opacity 0.2s ease;
    }

        .boken-footer a:hover,
        .boken-footer a:focus {
            color: #1f3f72;
            text-decoration: none;
        }

    .boken-footer nav a {
        font-size: 0.95rem;
        font-weight: 500;
    }

    .boken-footer nav a {
        position: relative;
    }

        .boken-footer nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -0.15rem;
            width: 100%;
            height: 1px;
            background: currentColor;
            opacity: 0;
            transform: scaleX(0.7);
            transform-origin: left;
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .boken-footer nav a:hover::after,
        .boken-footer nav a:focus::after {
            opacity: 1;
            transform: scaleX(1);
        }


.boken-project-cta {
    margin: 2.5rem 0 3rem;
}

.boken-project-cta-inner {
    position: relative;
    padding: 2rem 2.25rem;
    border-radius: 24px;
    background: #ffffff;
    border: 3px solid #d7deea;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.boken-project-cta-kicker {
    display: inline-block;
    margin-bottom: .75rem;
    color: #6b7c93;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.boken-project-cta-inner h2 {
    max-width: 900px;
    margin: 0 0 .75rem;
    color: #1f2d3d;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: -.02em;
}

.boken-project-cta-inner p {
    max-width: 900px;
    margin: 0 0 1.35rem;
    color: #44546a;
    font-size: 1rem;
    line-height: 1.7;
}

.boken-project-cta-inner .boken-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .75rem 1.2rem;
    border-radius: 999px;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .boken-project-cta-inner {
        padding: 1.5rem 1.35rem;
        border-radius: 20px;
    }

        .boken-project-cta-inner .boken-btn-primary {
            width: 100%;
            text-align: center;
        }
}

.boken-card-thumb-wrap {
    position: relative;
}

.boken-card-dev-image {
    filter: saturate(.82) brightness(.82);
}

.boken-card-dev-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( to bottom, rgba(15,23,42,.10), rgba(15,23,42,.18) );
    pointer-events: none;
}

.boken-card-dev-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(15,23,42,.10);
}

.boken-card-dev-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #6f9b76;
}

.boken-card-dev-text {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #5f6f52;
}

.boken-project-status-line {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.65rem 0 1rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(184, 176, 154, 0.45);
    color: #5f6f52;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.boken-project-status-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #6f9b76;
}



.boken-focus-strip {
    padding: 1.5rem 0 4rem;
    background: #f3f4f7;
}

.boken-focus-strip-inner {
    padding: clamp(1.75rem, 4vw, 2.5rem) 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.boken-focus-strip-title {
    margin: 0 0 0.75rem;
    max-width: 620px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--boken-ink);
}

.boken-focus-strip-text {
    max-width: 680px;
    margin: 0;
    color: var(--boken-muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

.boken-focus-strip-points {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 190px;
}

    .boken-focus-strip-points span {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        color: var(--boken-ink);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

        .boken-focus-strip-points span::before {
            content: "";
            width: 0.45rem;
            height: 0.45rem;
            border-radius: 999px;
            background: #6f9b76;
        }

@media (max-width: 991.98px) {
    .boken-focus-strip-inner {
        grid-template-columns: 1fr;
    }

    .boken-focus-strip-points {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
}