/* ===========================================================
   Landing — Bootstrap 5 + estructura del mockup (3 cols, glass,
   bento). Paleta azul/teal/verde del diseño original.
   =========================================================== */

:root {
    --ln-primary: #003461;
    --ln-primary-container: #004b87;
    --ln-primary-fixed: #d3e4ff;
    --ln-primary-fixed-dim: #a3c9ff;
    --ln-secondary: #006874;
    --ln-secondary-container: #5ce9fe;
    --ln-secondary-fixed: #98f0ff;
    --ln-tertiary-container: #005614;
    --ln-tertiary-fixed: #94f990;
    --ln-tertiary-fixed-dim: #78dc77;
    --ln-surface: #f3faff;
    --ln-surface-container-low: #e6f6ff;
    --ln-on-surface: #071e27;
    --ln-on-surface-variant: #424750;
    --ln-accent: #ff7a45;
    --ln-ink: #071e27;
}

/* Tipografías del mockup */
.ln-body {
    background: var(--ln-surface);
    color: var(--ln-on-surface);
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.ln-body h1, .ln-body h2, .ln-body h3, .ln-body h4, .ln-body h5, .ln-body h6,
.ln-body .headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ln-primary);
    letter-spacing: -0.01em;
}

.ln-body .headline-xl {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.ln-body .headline-lg {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.ln-body .headline-md {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.33;
}

.ln-body .eyebrow {
    color: var(--ln-accent);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.text-primary-ln {
    color: var(--ln-primary) !important;
}

.text-muted-ln {
    color: var(--ln-on-surface-variant) !important;
}

/* ===========================================================
   Navbar
   =========================================================== */
.ln-navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 75, 135, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 64px;
}

.ln-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    min-height: 58px;
}

.ln-brand {
    color: #004B87;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    padding: 0;
}

.ln-brand:hover {
    color: var(--ln-primary);
}

.ln-brand img {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

@media (min-width: 992px) {
    .ln-brand {
        font-size: 1.25rem;
    }

    .ln-brand img {
        height: 36px;
        max-width: 140px;
    }
}

.ln-navbar .nav-link {
    color: #475569;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    font-size: 0.95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ln-navbar .nav-link:hover {
    color: #004B87;
}

.ln-navbar .nav-link.active {
    color: #004B87;
    font-weight: 700;
    border-bottom: 2px solid #004B87;
    border-radius: 0;
}

.ln-navbar .navbar-toggler {
    padding: 0.35rem 0.6rem;
    font-size: 1.1rem;
    color: var(--ln-primary);
}

.ln-navbar .navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .ln-navbar .navbar-collapse {
        background: #fff;
        margin: 0.75rem -1rem -0.5rem;
        padding: 1rem 1.25rem;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 10px 24px rgba(0, 75, 135, 0.1);
    }

    .ln-navbar .nav-link {
        padding: 0.6rem 0.5rem;
    }

    .ln-navbar .nav-link.active {
        border-bottom: 0;
    }
}

.btn-primary-ln {
    background: var(--ln-primary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 52, 97, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.btn-primary-ln:hover,
.btn-primary-ln:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 52, 97, 0.35);
}

.btn-primary-ln:active {
    transform: scale(0.97);
}

.btn-outline-ln {
    background: transparent;
    color: var(--ln-primary);
    border: 1px solid rgba(0, 52, 97, 0.2);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
    text-decoration: none;
}

.btn-outline-ln:hover {
    background: var(--ln-primary-fixed);
    color: var(--ln-primary);
}

/* Dropdown de usuario autenticado */
.user-menu .dropdown-toggle {
    border: 0;
    padding: 0.35rem 0.85rem 0.35rem 0.35rem;
}

.user-menu .dropdown-toggle::after {
    margin-left: 0.35rem;
}

.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0;
    flex-shrink: 0;
}

.user-avatar.lg {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--ln-primary), var(--ln-secondary));
    color: #fff;
}

.user-avatar.user-avatar-img {
    object-fit: cover;
    background: #e2e8f0;
}

.user-menu .dropdown-menu {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 52, 97, 0.18);
    padding: 0.5rem;
    min-width: 260px;
}

.user-menu .dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.user-menu .dropdown-item:hover {
    background: var(--ln-primary-fixed);
}

.user-menu .dropdown-item.text-danger:hover {
    background: #fee2e2;
    color: #b91c1c !important;
}

.user-menu .user-header {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.5rem 0.75rem 0.85rem;
}

.user-menu .user-header .user-info {
    min-width: 0;
    flex: 1;
}

.user-menu .user-header strong {
    display: block;
    color: var(--ln-primary);
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.user-menu .user-header small {
    color: #64748b;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Lang switcher */
.lang-switcher .dropdown-toggle {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.lang-switcher .dropdown-menu {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 52, 97, 0.15);
    padding: 0.5rem;
    min-width: 180px;
}

.lang-switcher .dropdown-item {
    border-radius: 10px;
    padding: 0.5rem 0.9rem;
    font-weight: 500;
}

.lang-switcher .dropdown-item:hover {
    background: var(--ln-primary-fixed);
    color: var(--ln-primary);
}

/* ===========================================================
   Hero 3 columnas interactivas (igual al mockup)
   Alturas responsivas por breakpoint
   =========================================================== */
.hero-3col {
    display: flex;
    height: 640px;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .hero-3col {
        height: 760px;
    }
}

@media (min-width: 1400px) {
    .hero-3col {
        height: 820px;
    }
}

.hero-col {
    position: relative;
    flex: 1 1 0;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: flex-grow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
}

.hero-col:last-child {
    border-right: 0;
}

.hero-col .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.hero-col:hover .bg {
    transform: scale(1.05);
}

.hero-col .overlay {
    position: absolute;
    inset: 0;
}

.hero-col .body {
    position: absolute;
    top: 65%; /* centro-bajo — deja espacio abajo para la desc sin chocar con el glass-card */
    left: 2.5rem;
    right: 2.5rem;
    z-index: 3;
}

.hero-col .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hero-col h2 {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/*
   Descripción del hero-col — debajo del título, en flujo normal.
   Sin fondo oscuro: color blanco con text-shadow para legibilidad sobre la imagen.
   Al estar el body arriba (top: 30%), el desc queda lejos del glass-card.
*/
.hero-col .desc {
    margin: 0.5rem 0 0;
    padding: 0;
    max-width: 90%;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Columna 1 — gradiente primary */
.hero-col.col-1 .overlay {
    background: linear-gradient(to top, rgba(0, 52, 97, 0.9), rgba(0, 52, 97, 0.2) 60%, transparent);
}

.hero-col.col-1 .icon-wrap {
    background: rgba(92, 233, 254, 0.2);
}

/* Columna 2 — gradiente secondary */
.hero-col.col-2 .overlay {
    background: linear-gradient(to top, rgba(0, 104, 116, 0.9), rgba(0, 104, 116, 0.2) 60%, transparent);
}

.hero-col.col-2 .icon-wrap {
    background: rgba(163, 201, 255, 0.2);
}

/* Columna 3 — gradiente tertiary */
.hero-col.col-3 .overlay {
    background: linear-gradient(to top, rgba(0, 86, 20, 0.9), rgba(0, 86, 20, 0.2) 60%, transparent);
}

.hero-col.col-3 .icon-wrap {
    background: rgba(120, 220, 119, 0.25);
}

/* Desktop: la columna con hover crece, la descripción aparece */
@media (min-width: 768px) {
    .hero-col .desc {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .hero-col:hover {
        flex-grow: 2.5;
    }

    .hero-col:hover .desc {
        opacity: 1;
    }
}

/* Mobile: stack vertical, descripción siempre visible */
@media (max-width: 767.98px) {
    .hero-3col {
        display: block !important; /* evita cualquier conflicto flex */
        flex-direction: column;
        height: auto !important;
        width: 100%;
    }

    .hero-col {
        display: block;
        flex: none !important; /* anula flex: 1 1 0 */
        width: 100% !important;
        height: 320px; /* alto fijo garantiza encuadre del bg cover */
        min-height: 320px;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-col .body {
        position: absolute;
        top: 45%;
        left: 1.5rem;
        right: 1.5rem;
        max-width: 100%;
    }

    .hero-col h2 {
        font-size: 1.6rem;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    /* En móvil no hay hover — desc siempre visible, en flujo normal */
    .hero-col .desc {
        margin-top: 0.5rem !important;
        font-size: 0.85rem !important;
        max-width: 100% !important;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }
}

/* Fallback cuando no hay imagen */
.hero-col .bg.no-img.col-1 {
    background: linear-gradient(135deg, #003461 0%, #0a6ec7 100%);
}

.hero-col .bg.no-img.col-2 {
    background: linear-gradient(135deg, #006874 0%, #45d8ed 100%);
}

.hero-col .bg.no-img.col-3 {
    background: linear-gradient(135deg, #005614 0%, #78dc77 100%);
}

/* ===========================================================
   Glass card (app conversion)
   =========================================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 75, 135, 0.12);
}

/* Glass card — badge "Descarga nuestra app" */
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 122, 69, 0.12);
    color: var(--ln-accent);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    color: #64748b;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
}

.app-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.app-meta i {
    color: var(--ln-tertiary-container);
}

.app-cta {
    min-width: 0;
}

/* Botón estilo App Store (negro) */
.store-btn {
    background: #000;
    color: #fff;
    border: 0;
    padding: 0.9rem 1.6rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.store-btn:hover {
    color: #fff;
    transform: scale(1.05);
}

.store-btn i {
    font-size: 1.8rem;
}

.store-btn small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
}

.store-btn strong {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

/* ===========================================================
   How it works — tarjetas con iconos gradiente + línea conectora
   =========================================================== */
.how-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--ln-surface-container-low) 100%);
    position: relative;
}

.how-eyebrow {
    display: inline-block;
    background: rgba(255, 122, 69, 0.12);
    color: var(--ln-accent);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.how-track {
    position: relative;
}

.how-line {
    display: none;
}

@media (min-width: 768px) {
    .how-line {
        display: block;
        position: absolute;
        top: 72px;
        left: 18%;
        right: 18%;
        height: 3px;
        background: linear-gradient(90deg, #a3c9ff 0%, #45d8ed 50%, #78dc77 100%);
        border-radius: 999px;
        z-index: 0;
        opacity: 0.5;
    }
}

.how-card {
    background: #fff;
    border-radius: 22px;
    padding: 2.25rem 1.75rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 52, 97, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
    height: 100%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.how-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 52, 97, 0.12);
}

.how-icon {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #fff;
    margin: 0 auto 1.5rem;
    box-shadow: 0 14px 28px rgba(0, 52, 97, 0.18);
}

.how-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ln-primary-fixed-dim);
    color: var(--ln-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 52, 97, 0.1);
}

.how-card--blue .how-icon {
    background: linear-gradient(135deg, #003461 0%, #0a6ec7 100%);
}

.how-card--blue .how-num {
    border-color: #a3c9ff;
    color: #003461;
}

.how-card--teal .how-icon {
    background: linear-gradient(135deg, #006874 0%, #45d8ed 100%);
}

.how-card--teal .how-num {
    border-color: #98f0ff;
    color: #006874;
}

.how-card--green .how-icon {
    background: linear-gradient(135deg, #005614 0%, #78dc77 100%);
}

.how-card--green .how-num {
    border-color: #94f990;
    color: #005614;
}

.how-title {
    color: var(--ln-primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.how-card p {
    color: var(--ln-on-surface-variant);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.how-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.how-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f8fafc;
    color: #475569;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.how-tags span i {
    color: var(--ln-primary-fixed-dim);
    font-size: 0.8rem;
}

@media (max-width: 767.98px) {
    .how-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .how-icon {
        width: 76px;
        height: 76px;
        font-size: 1.85rem;
        margin-bottom: 1rem;
    }

    .how-num {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
}

/* ===========================================================
   Why choose us — mosaico + feature list
   =========================================================== */
.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mosaic-grid .m-col-1 > * + *,
.mosaic-grid .m-col-2 > * + * {
    margin-top: 1rem;
}

.mosaic-grid .m-col-2 {
    padding-top: 3rem;
}

.mosaic-img {
    height: 260px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(7, 30, 39, 0.12);
    overflow: hidden;
}

.mosaic-img.placeholder {
    background: linear-gradient(135deg, var(--ln-primary) 0%, var(--ln-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
}

.mosaic-tile {
    padding: 1.75rem;
    border-radius: 18px;
    color: #fff;
}

.mosaic-tile i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.mosaic-tile h5 {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.mosaic-tile.tile-green {
    background: var(--ln-tertiary-container);
}

.mosaic-tile.tile-blue {
    background: var(--ln-primary-container);
}

.feature-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-row .icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--ln-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(7, 30, 39, 0.08);
}

.feature-row h6 {
    color: #0d2644;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.feature-row p {
    color: var(--ln-on-surface-variant);
    margin: 0;
}

/* ===========================================================
   Bento grid (Trust & Sustainability)
   =========================================================== */
.bento {
    background: var(--ln-surface-container-low);
}

.bento-card {
    background: #fff;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.bento-card .chip-green {
    background: var(--ln-tertiary-fixed);
    color: #002204;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bento-card .chip-cyan {
    background: var(--ln-secondary-fixed);
    color: #001f24;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bento-card .bg-aside {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    filter: grayscale(1);
    opacity: 0.1;
    transition: all 0.7s ease;
}

.bento-card:hover .bg-aside {
    filter: grayscale(0);
    opacity: 0.4;
}

.bento-eco {
    background: var(--ln-tertiary-container);
    color: #fff;
    border-radius: 2rem;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.bento-eco .fa-leaf {
    color: var(--ln-tertiary-fixed);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.bento-eco h3 {
    color: #fff;
    font-weight: 600;
    font-size: 1.35rem;
}

.bento-eco p {
    color: rgba(255, 255, 255, 0.8);
}

.bento-eco a {
    color: var(--ln-tertiary-fixed);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: gap 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bento-eco a:hover {
    color: var(--ln-tertiary-fixed);
    gap: 0.85rem;
}

.bento-feature {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    height: 100%;
}

.bento-feature i {
    color: var(--ln-primary);
    font-size: 2rem;
    flex-shrink: 0;
}

.bento-feature h5 {
    color: var(--ln-primary);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.bento-feature p {
    color: var(--ln-on-surface-variant);
    margin: 0;
}

/* ===========================================================
   Footer
   =========================================================== */
.ln-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 0;
    margin-top: 4rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ln-footer p {
    color: #64748b;
    font-size: 0.9rem;
}

.ln-footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ln-footer a:hover {
    color: #004B87;
}

.ln-footer .brand {
    color: #004B87;
    font-weight: 700;
    font-size: 1.1rem;
}

.ln-footer img {
    height: 28px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
}

.ln-footer .socials i {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.ln-footer .socials a:hover i {
    color: var(--ln-primary);
}

/* ===========================================================
   Google Translate — ocultar UI por defecto (completa)
   =========================================================== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-logo-link,
.goog-te-gadget span,
.goog-te-menu-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    border: 0 !important;
}

/* Tooltip + highlight que Google inyecta sobre texto traducido */
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Google empuja el body hacia abajo con `top: 40px` inline — anularlo */
body {
    top: 0 !important;
    position: static !important;
}

html {
    height: auto !important;
    margin-top: 0 !important;
}

#google_translate_element {
    display: none;
}

.goog-te-gadget {
    font-size: 0 !important;
}

/* Overlap del glass card sobre el hero */
.app-conv {
    margin-top: -6rem;
    position: relative;
    z-index: 10;
}

/* ===========================================================
   Responsive — breakpoints Bootstrap 5
   - xs:  < 576px    (móvil)
   - sm:  ≥ 576px    (móvil horizontal)
   - md:  ≥ 768px    (tablet portrait)
   - lg:  ≥ 992px    (tablet landscape / laptop chico)
   - xl:  ≥ 1200px   (laptop / desktop)
   - xxl: ≥ 1400px   (desktop grande)
   =========================================================== */

/* ---------- Móvil vertical (< 576px) ---------- */
@media (max-width: 575.98px) {
    /* Navbar sólido — evita problemas con backdrop-filter en navegadores móviles */
    .ln-navbar {
        min-height: 58px;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 2px 10px rgba(0, 52, 97, 0.08);
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .ln-navbar.scrolled {
        background: #ffffff;
    }

    .ln-navbar .container-fluid {
        gap: 0.35rem;
    }

    .ln-navbar > .container-fluid > .d-flex {
        gap: 0.4rem !important;
    }

    .ln-brand {
        font-size: 0.95rem;
    }

    .ln-brand img {
        height: 26px;
        max-width: 80px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
    }

    /* Switcher de idioma — solo el globo, sin "ES" */
    .lang-switcher .dropdown-toggle {
        padding: 0.35rem 0.6rem;
        font-size: 0.85rem;
    }

    .lang-switcher .dropdown-toggle::after {
        display: none;
    }

    .lang-switcher .dropdown-toggle #lang-current {
        display: none;
    }

    .lang-switcher .dropdown-toggle i.fa-globe {
        margin-right: 0 !important;
    }

    /* Botón login — solo icono, circular */
    .ln-navbar .btn-primary-ln {
        padding: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
    }

    .ln-navbar .btn-outline-ln {
        padding: 0.35rem 0.85rem;
        font-size: 0.82rem;
    }

    /* User menu — solo avatar, sin caret ni nombre */
    .user-menu .dropdown-toggle {
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .user-menu .dropdown-toggle::after {
        display: none;
    }

    .user-menu .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.72rem;
    }

    .user-menu .dropdown-menu {
        min-width: calc(100vw - 24px);
        max-width: 320px;
    }

    main {
        padding-top: 58px !important;
    }

    .hero-col .body {
        left: 1.25rem;
        right: 1.25rem;
    }

    .hero-col h2 {
        font-size: 1.4rem;
    }

    .hero-col .icon-wrap {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .app-conv {
        margin-top: 1.5rem;
    }

    .glass-card {
        padding: 1.5rem 1.25rem;
        border-radius: 1.25rem;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .bento-card,
    .bento-eco {
        padding: 1.75rem;
        border-radius: 1.25rem;
    }

    .bento-feature {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .mosaic-img {
        height: 180px;
    }

    .mosaic-grid .m-col-2 {
        padding-top: 0;
    }

    .feature-row {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-row .icon {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .step .num {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* ---------- Móvil + tablet portrait (< 768px) ---------- */
@media (max-width: 767.98px) {
    .hero-3col {
        flex-direction: column;
        height: auto;
    }

    .hero-col {
        min-height: 300px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .app-conv {
        margin-top: 2rem;
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }

    .mosaic-grid .m-col-2 {
        padding-top: 0;
    }

    .mosaic-img {
        height: 200px;
    }

    .mosaic-tile {
        padding: 1.35rem;
    }

    .bento-card,
    .bento-eco {
        padding: 2rem;
    }

    .app-conv .glass-card .store-btn {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

/* ---------- Tablet portrait (576-767px) — móvil horizontal+ ---------- */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-col {
        min-height: 340px;
    }

    .hero-col h2 {
        font-size: 1.75rem;
    }

    .app-conv {
        margin-top: 1rem;
    }

    .mosaic-img {
        height: 240px;
    }
}

/* ---------- Tablet landscape / laptop chico (768-991px) ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .ln-navbar {
        min-height: 62px;
    }

    .ln-navbar .navbar-brand {
        margin-right: auto;
    }

    .hero-3col {
        height: 560px;
    }

    .hero-col .body {
        left: 1.75rem;
        right: 1.75rem;
    }

    .hero-col h2 {
        font-size: 1.6rem;
    }

    .hero-col .desc {
        font-size: 0.85rem;
    }

    .app-conv {
        margin-top: -4rem;
    }

    .glass-card {
        padding: 2.25rem;
    }

    .mosaic-img {
        height: 220px;
    }

    .mosaic-grid .m-col-2 {
        padding-top: 2rem;
    }

    .bento-card {
        padding: 2.25rem;
    }

    .bento-card .bg-aside {
        width: 40%;
        opacity: 0.08;
    }
}

/* ---------- Laptop (992-1199px) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-col .body {
        left: 2rem;
        right: 2rem;
    }

    .hero-col h2 {
        font-size: 1.75rem;
    }

    .app-conv {
        margin-top: -5rem;
    }

    .glass-card {
        padding: 2.5rem;
    }
}

/* ---------- Ajustes globales para que los containers respiren en desktop ---------- */
@media (min-width: 1200px) {
    .ln-navbar .container-fluid {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Utilidad: el dropdown del idioma pegado al borde en móvil ---------- */
@media (max-width: 991.98px) {
    .lang-switcher {
        order: -1;
    }

    .lang-switcher .dropdown-menu {
        right: 0;
        left: auto;
    }
}
